Mon, 21 Mar 2022 11:44:51 +0100
Status and Windowtitle messages via signals and slots. Global setup now on the mainwindow.
56 | 1 | #ifndef _PROFILESTYLES_H |
2 | #define _PROFILESTYLES_H | |
3 | ||
4 | #include <QDialog> | |
76
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
5 | #include <QtWidgets/QGridLayout> |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
6 | #include <QtWidgets/QGroupBox> |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
7 | #include <QtWidgets/QHBoxLayout> |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
8 | #include <QtWidgets/QHeaderView> |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
9 | #include <QtWidgets/QPushButton> |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
10 | #include <QtWidgets/QTableWidget> |
56 | 11 | |
12 | namespace Ui { | |
13 | class ProfileStyles; | |
14 | } | |
15 | ||
16 | class ProfileStyles : public QDialog | |
17 | { | |
18 | Q_OBJECT | |
19 | ||
20 | public: | |
21 | explicit ProfileStyles(QWidget *parent = nullptr); | |
22 | ~ProfileStyles(); | |
23 | ||
24 | private slots: | |
25 | void on_insertButton_clicked(); | |
26 | void on_editButton_clicked(); | |
27 | void refreshTable(void); | |
28 | ||
29 | private: | |
76
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
30 | QGridLayout *gridLayout; |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
31 | QTableWidget *tableStyles; |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
32 | QGroupBox *groupBox; |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
33 | QHBoxLayout *horizontalLayout; |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
34 | QPushButton *quitButton; |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
35 | QPushButton *insertButton; |
93395c4d6c8d
Profile Styles now on the mainscreen.
Michiel Broek <mbroek@mbse.eu>
parents:
56
diff
changeset
|
36 | |
56 | 37 | void edit(int recno); |
38 | }; | |
39 | ||
40 | #endif |