Sat, 08 Jun 2024 15:54:30 +0200
Version 0.4.6a1. Added HLT equipment volume and deadspace settings. In EditProduct the target water selection is now sticky. Changed the water treatment tab. Added a row wich displays the salt adjustments. This can be selected between actual and target values. The treated water show can select between mash or sparge water. The total line will become the final water in the boil kettle. Database update function is expanded with the new settings. Added a popup message warning that the database is upgraded and user action is required for the equipment profiles.
310 | 1 | #ifndef _MONFERMENTERS_H |
2 | #define _MONFERMENTERS_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 MonFermenters; | |
14 | } | |
15 | ||
16 | class MonFermenters : public QDialog | |
17 | { | |
18 | Q_OBJECT | |
19 | ||
20 | public: | |
21 | explicit MonFermenters(QWidget *parent = nullptr); | |
22 | ~MonFermenters(); | |
23 | ||
24 | signals: | |
25 | void setStatus(QString); | |
323
d053ffbbf3e9
Started with change and signal functions. Implemented mode change for test. The MainWindow webSocket is now global so the Detail screens can send websocket messages.
Michiel Broek <mbroek@mbse.eu>
parents:
312
diff
changeset
|
26 | void updateFermenter(QString); |
310 | 27 | |
28 | private slots: | |
29 | void on_editButton_clicked(); | |
30 | void refreshTable(void); | |
31 | ||
312
251b9aaae916
Added monitor fermenters overview
Michiel Broek <mbroek@mbse.eu>
parents:
310
diff
changeset
|
32 | public slots: |
251b9aaae916
Added monitor fermenters overview
Michiel Broek <mbroek@mbse.eu>
parents:
310
diff
changeset
|
33 | void refreshFermenters(QString); |
251b9aaae916
Added monitor fermenters overview
Michiel Broek <mbroek@mbse.eu>
parents:
310
diff
changeset
|
34 | |
310 | 35 | private: |
36 | QGridLayout *gridLayout; | |
312
251b9aaae916
Added monitor fermenters overview
Michiel Broek <mbroek@mbse.eu>
parents:
310
diff
changeset
|
37 | QTableWidget *tableFermenters; |
310 | 38 | QGroupBox *groupBox; |
39 | QHBoxLayout *horizontalLayout; | |
40 | QPushButton *quitButton; | |
41 | ||
42 | void edit(int recno); | |
43 | }; | |
44 | ||
45 | #endif |