1 #ifndef _PROFILESTYLES_H |
1 #ifndef _PROFILESTYLES_H |
2 #define _PROFILESTYLES_H |
2 #define _PROFILESTYLES_H |
3 |
3 |
4 #include <QDialog> |
4 #include <QDialog> |
|
5 #include <QtWidgets/QGridLayout> |
|
6 #include <QtWidgets/QGroupBox> |
|
7 #include <QtWidgets/QHBoxLayout> |
|
8 #include <QtWidgets/QHeaderView> |
|
9 #include <QtWidgets/QPushButton> |
|
10 #include <QtWidgets/QTableWidget> |
5 |
11 |
6 namespace Ui { |
12 namespace Ui { |
7 class ProfileStyles; |
13 class ProfileStyles; |
8 } |
14 } |
9 |
15 |
13 |
19 |
14 public: |
20 public: |
15 explicit ProfileStyles(QWidget *parent = nullptr); |
21 explicit ProfileStyles(QWidget *parent = nullptr); |
16 ~ProfileStyles(); |
22 ~ProfileStyles(); |
17 |
23 |
18 signals: |
|
19 void firstWindow(); |
|
20 |
|
21 private slots: |
24 private slots: |
22 void on_quitButton_clicked(); |
|
23 void on_insertButton_clicked(); |
25 void on_insertButton_clicked(); |
24 void on_editButton_clicked(); |
26 void on_editButton_clicked(); |
25 void refreshTable(void); |
27 void refreshTable(void); |
26 |
28 |
27 private: |
29 private: |
28 Ui::ProfileStyles *ui; |
30 QGridLayout *gridLayout; |
|
31 QTableWidget *tableStyles; |
|
32 QGroupBox *groupBox; |
|
33 QHBoxLayout *horizontalLayout; |
|
34 QPushButton *quitButton; |
|
35 QPushButton *insertButton; |
|
36 |
29 void edit(int recno); |
37 void edit(int recno); |
30 }; |
38 }; |
31 |
39 |
32 #endif |
40 #endif |