Редакция 33 | Редакция 45 | К новейшей редакции | Только различия | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 33 | Редакция 38 | ||
---|---|---|---|
1 | #ifndef CLASSEDITOR_H
|
1 | #ifndef CLASSEDITOR_H
|
2 | #define CLASSEDITOR_H
|
2 | #define CLASSEDITOR_H
|
3 | 3 | ||
4 | #include <QMainWindow>
|
4 | #include <QMainWindow>
|
5 | #include "mysql.h"
|
5 | #include "mysql.h"
|
6 | #include "settingsdialog.h"
|
- | |
7 | #include "tablefield.h"
|
- | |
- | 6 | ||
- | 7 | ||
8 | 8 | ||
9 | namespace Ui { |
9 | namespace Ui { |
10 | class ClassEditor; |
10 | class ClassEditor; |
11 | }
|
11 | }
|
12 | 12 | ||
13 | class ClassEditor : public QMainWindow { |
13 | class ClassEditor : public QMainWindow { |
14 | Q_OBJECT |
14 | Q_OBJECT |
15 | public: |
15 | public: |
16 | ClassEditor(QWidget *parent = 0); |
16 | ClassEditor(QWidget *parent = 0); |
17 | ~ClassEditor(); |
17 | ~ClassEditor(); |
18 | 18 | ||
19 | protected: |
19 | protected: |
20 | void changeEvent(QEvent *e); |
20 | void changeEvent(QEvent *e); |
21 | 21 | ||
22 | private: |
22 | private: |
23 | Ui::ClassEditor *ui; |
23 | Ui::ClassEditor *ui; |
24 | MySql sql;
|
24 | MySql sql;
|
25 | SettingsDialog settdialog;
|
25 | SettingsDialog settdialog;
|
26 | TableField *field; |
26 | TableField *field; |
- | 27 | SqlTable *table; |
|
27 | }; |
28 | }; |
28 | 29 | ||
29 | #endif // CLASSEDITOR_H
|
30 | #endif // CLASSEDITOR_H
|
30 | 31 |