Fri, 18 Nov 2022 16:57:02 +0100
Details CO2 monitor shows the style limits for the specific beer. Adjust the scale of the pressure widget to the beer limits. Moved more functions to the global Utils. Fix expected pressure in the package screen for other priming sugars. Disabled some debug log messages.
310 | 1 | #ifndef _MONNODES_H |
2 | #define _MONNODES_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 MonNodes; | |
14 | } | |
15 | ||
16 | class MonNodes : public QDialog | |
17 | { | |
18 | Q_OBJECT | |
19 | ||
20 | public: | |
21 | explicit MonNodes(QWidget *parent = nullptr); | |
22 | ~MonNodes(); | |
23 | ||
24 | signals: | |
25 | void setStatus(QString); | |
346
792058058c2f
Added nodes monitor detail screen.
Michiel Broek <mbroek@mbse.eu>
parents:
310
diff
changeset
|
26 | void updateNode(QString); |
310 | 27 | |
28 | private slots: | |
29 | void on_editButton_clicked(); | |
30 | void refreshTable(void); | |
31 | ||
32 | public slots: | |
33 | void refreshNodes(QString); | |
34 | ||
35 | private: | |
36 | QGridLayout *gridLayout; | |
37 | QTableWidget *tableNodes; | |
38 | QGroupBox *groupBox; | |
39 | QHBoxLayout *horizontalLayout; | |
40 | QPushButton *quitButton; | |
41 | ||
42 | void edit(int recno); | |
43 | }; | |
44 | ||
45 | #endif |