Mon, 27 Jun 2022 21:12:19 +0200
Added monitor nodes overview
310 | 1 | #ifndef _MONISPINDELS_H |
2 | #define _MONISPINDELS_H | |
3 | ||
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> | |
11 | ||
12 | namespace Ui { | |
13 | class MoniSpindels; | |
14 | } | |
15 | ||
16 | class MoniSpindels : public QDialog | |
17 | { | |
18 | Q_OBJECT | |
19 | ||
20 | public: | |
21 | explicit MoniSpindels(QWidget *parent = nullptr); | |
22 | ~MoniSpindels(); | |
23 | ||
24 | signals: | |
25 | void setStatus(QString); | |
26 | ||
27 | private slots: | |
28 | void on_insertButton_clicked(); | |
29 | void on_editButton_clicked(); | |
30 | void refreshTable(void); | |
31 | ||
32 | private: | |
33 | QGridLayout *gridLayout; | |
34 | QTableWidget *tableSuppliers; | |
35 | QGroupBox *groupBox; | |
36 | QHBoxLayout *horizontalLayout; | |
37 | QPushButton *quitButton; | |
38 | QPushButton *insertButton; | |
39 | ||
40 | void edit(int recno); | |
41 | }; | |
42 | ||
43 | #endif |