Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 195 → Rev 196

/trunk/DBViewer/DBViewer.pro
19,13 → 19,16
delegate.cpp \
mymodel.cpp \
settingform.cpp \
iconform.cpp
iconform.cpp \
fileform.cpp
HEADERS += mainwindow.h \
delegate.h \
mymodel.h \
settingform.h \
iconform.h
iconform.h \
fileform.h
FORMS += mainwindow.ui \
settingform.ui \
iconform.ui
iconform.ui \
fileform.ui
RESOURCES += dbviewer.qrc
/trunk/DBViewer/dbviewer.qrc
3,5 → 3,6
<file>model.txt</file>
<file>Open.png</file>
<file>Delete.png</file>
<file>Save.png</file>
</qresource>
</RCC>
/trunk/DBViewer/mainwindow.cpp
92,6 → 92,9
picture_delegate = new CPictureDelegate(this);
iconDelegate = new IconDelegate(this);
 
 
fileForm.show();
 
}
 
MainWindow::~MainWindow()
/trunk/DBViewer/mainwindow.h
7,6 → 7,7
#include "mymodel.h"
#include "settingform.h"
#include "delegate.h"
#include "fileform.h"
 
#include <QMainWindow>
#include <QStandardItemModel>
61,6 → 62,7
 
private:
Ui::MainWindow *ui;
FileForm fileForm;
 
settingForm setFrm;
//ïåðåìåííûå äëÿ ñîåäèíåíèÿ ñ áàçîé