Редакция 196 | Редакция 201 | К новейшей редакции | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 196 | Редакция 200 | ||
---|---|---|---|
Строка 5... | Строка 5... | ||
5 | //#include "mysql.h"
|
5 | //#include "mysql.h"
|
6 | 6 | ||
7 | #include "mymodel.h"
|
7 | #include "mymodel.h"
|
8 | #include "settingform.h"
|
8 | #include "settingform.h"
|
9 | #include "delegate.h"
|
9 | #include "delegate.h"
|
10 | #include "fileform.h"
|
10 | // #include "fileform.h"
|
11 | 11 | ||
12 | #include <QMainWindow>
|
12 | #include <QMainWindow>
|
13 | #include <QStandardItemModel>
|
13 | #include <QStandardItemModel>
|
14 | #include <QStandardItem>
|
14 | #include <QStandardItem>
|
15 | #include <QTreeWidgetItem>
|
15 | #include <QTreeWidgetItem>
|
Строка 60... | Строка 60... | ||
60 | protected: |
60 | protected: |
61 | void changeEvent(QEvent *e); |
61 | void changeEvent(QEvent *e); |
62 | 62 | ||
63 | private: |
63 | private: |
64 | Ui::MainWindow *ui; |
64 | Ui::MainWindow *ui; |
65 | FileForm fileForm;
|
65 | //FileForm fileForm;
|
66 | 66 | ||
67 | settingForm setFrm;
|
67 | settingForm setFrm;
|
68 | //ïåðåìåííûå äëÿ ñîåäèíåíèÿ ñ áàçîé
|
68 | //ïåðåìåííûå äëÿ ñîåäèíåíèÿ ñ áàçîé
|
69 | QString baseName;
|
69 | QString baseName;
|
70 | QString hostName;
|
70 | QString hostName;
|
Строка 143... | Строка 143... | ||
143 | 143 | ||
144 | 144 | ||
145 | QStringList getBoolFieldList(QString class_id); // ïîëó÷àåì ñïèñîê âñåõ ïîëåé c òèïîì "bool" |
145 | QStringList getBoolFieldList(QString class_id); // ïîëó÷àåì ñïèñîê âñåõ ïîëåé c òèïîì "bool" |
146 | 146 | ||
147 | 147 | ||
- | 148 | QStringList getFileFieldList(QString class_id); // ïîëó÷àåì ñïèñîê âñåõ ïîëåé, â êîòîðûõ õðàíÿòüñÿ ôàéëû" |
|
- | 149 | ||
- | 150 | ||
148 | 151 | ||
149 | int getIconFieldIndex(QString inctance); // ïîëó÷àåì íîìåð ñòîëáöà ñ èêîíêàìè |
152 | int getIconFieldIndex(QString inctance); // ïîëó÷àåì íîìåð ñòîëáöà ñ èêîíêàìè |
150 | 153 | ||
151 | SpinBoxDelegate spinDelegate;
|
154 | SpinBoxDelegate spinDelegate;
|
152 | QItemDelegate standart_delegate;
|
155 | QItemDelegate standart_delegate;
|