Thu, 21 Apr 2022 17:22:01 +0200
New recipe, calculate the boil_size. Lot's of ignoreChanges removeals and where needed QSignalBlocker is used. Bottle priming calculation added. In fermentables editor block and release to100 settings only in mash to fermentation steps, bottle and kegging are ignored. Update the IBU slider after hop changes. Set the mash name when another mash profile is selected. Don't backup initial infuse amount if there was no mash table. A small cosmetic layout change on the mash tab.
56 | 1 | #ifndef _EDITPROFILESTYLE_H |
2 | #define _EDITPROFILESTYLE_H | |
3 | ||
4 | #include <QDialog> | |
5 | ||
6 | ||
7 | namespace Ui { | |
8 | class EditProfileStyle; | |
9 | } | |
10 | ||
11 | class EditProfileStyle : public QDialog | |
12 | { | |
13 | Q_OBJECT | |
14 | ||
15 | signals: | |
16 | void entry_changed(); | |
17 | ||
18 | public: | |
19 | explicit EditProfileStyle(int id, QWidget *parent = 0); | |
20 | ~EditProfileStyle(); | |
21 | ||
22 | private slots: | |
23 | void on_saveButton_clicked(); | |
24 | void on_quitButton_clicked(); | |
25 | void on_deleteButton_clicked(); | |
26 | void is_changed(); | |
27 | void ogmin_changed(); | |
28 | void ogmax_changed(); | |
29 | void fgmin_changed(); | |
30 | void fgmax_changed(); | |
31 | void ibumin_changed(); | |
32 | void ibumax_changed(); | |
33 | void ebcmin_changed(); | |
34 | void ebcmax_changed(); | |
35 | void co2min_changed(); | |
36 | void co2max_changed(); | |
37 | void abvmin_changed(); | |
38 | void abvmax_changed(); | |
39 | ||
40 | private: | |
41 | Ui::EditProfileStyle *ui; | |
42 | int recno; | |
43 | bool textIsChanged = false; | |
44 | ||
45 | void WindowTitle(); | |
46 | }; | |
47 | ||
48 | #endif |