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.
24 | 1 | #ifndef _EDITHOP_H |
2 | #define _EDITHOP_H | |
3 | ||
4 | #include <QDialog> | |
5 | ||
6 | ||
7 | namespace Ui { | |
8 | class EditHop; | |
9 | } | |
10 | ||
11 | class EditHop : public QDialog | |
12 | { | |
13 | Q_OBJECT | |
14 | ||
15 | signals: | |
16 | void entry_changed(); | |
17 | ||
18 | public: | |
19 | explicit EditHop(int id, QWidget *parent = 0); | |
20 | ~EditHop(); | |
21 | ||
22 | private slots: | |
23 | void on_saveButton_clicked(); | |
377 | 24 | void on_cloneButton_clicked(); |
24 | 25 | void on_quitButton_clicked(); |
26 | void on_deleteButton_clicked(); | |
27 | void is_changed(); | |
380
8f5c03ed4321
Global setup added hop utilisation defaults, these are used by the hops editor. In the hops editor, changing the hop form sets the new default utilisation. Hide and show the time edit entry instead of setting it read-only. The new defaults are loaded at program startup. Changed the global setup for the new utilisation fields and dropped the obsolete factor fields. The toIBU formula doesn't use my_factor_* variables anymore, hop differences now come from the utilisation field per hop. The global database is updated to the new defaults.
Michiel Broek <mbroek@mbse.eu>
parents:
377
diff
changeset
|
28 | void form_changed(int val); |
292
b6ec2e275736
Fixed missing settings from the Miscs and Hops editors.
Michiel Broek <mbroek@mbse.eu>
parents:
24
diff
changeset
|
29 | void prod_date_clear(); |
b6ec2e275736
Fixed missing settings from the Miscs and Hops editors.
Michiel Broek <mbroek@mbse.eu>
parents:
24
diff
changeset
|
30 | void prod_date_today(); |
b6ec2e275736
Fixed missing settings from the Miscs and Hops editors.
Michiel Broek <mbroek@mbse.eu>
parents:
24
diff
changeset
|
31 | void tht_date_clear(); |
b6ec2e275736
Fixed missing settings from the Miscs and Hops editors.
Michiel Broek <mbroek@mbse.eu>
parents:
24
diff
changeset
|
32 | void tht_date_today(); |
24 | 33 | |
34 | private: | |
35 | Ui::EditHop *ui; | |
36 | int recno; | |
37 | bool textIsChanged = false; | |
38 | ||
39 | void WindowTitle(); | |
40 | }; | |
41 | ||
42 | #endif |