Mon, 18 Jul 2022 17:04:02 +0200
Redesign of the water tabs in product and recipe editors. Prepare for sparge water salt additions. Acid additions are now automatic or manual for mash and sparge. Fixed error in acid calculation strength. Fixed phophoric SG value.
228 | 1 | #ifndef _PRODONNAME_H |
2 | #define _PRODONNAME_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 ProdOnName; | |
14 | } | |
15 | ||
16 | class ProdOnName : public QDialog | |
17 | { | |
18 | Q_OBJECT | |
19 | ||
20 | public: | |
21 | explicit ProdOnName(QWidget *parent = nullptr); | |
22 | ~ProdOnName(); | |
23 | ||
24 | signals: | |
25 | void setStatus(QString); | |
26 | ||
27 | private slots: | |
28 | void on_editButton_clicked(); | |
29 | void refreshTable(void); | |
30 | ||
31 | private: | |
32 | QGridLayout *gridLayout; | |
33 | QTableWidget *tableOnName; | |
34 | QGroupBox *groupBox; | |
35 | QHBoxLayout *horizontalLayout; | |
36 | QPushButton *quitButton; | |
37 | QPushButton *insertButton; | |
38 | ||
39 | void edit(int recno); | |
40 | }; | |
41 | ||
42 | #endif |