Fri, 22 Apr 2022 13:46:59 +0200
Fixed vanishing mash profiles from some recipes. All ingnoreChanges flags removed and replaced by blocking signals. Update prompts and yeast amounts depending on the yeast form. Save water profile names fixed.
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(); | |
24 | void on_quitButton_clicked(); | |
25 | void on_deleteButton_clicked(); | |
26 | void is_changed(); | |
27 | ||
28 | private: | |
29 | Ui::EditHop *ui; | |
30 | int recno; | |
31 | bool textIsChanged = false; | |
32 | ||
33 | void WindowTitle(); | |
34 | }; | |
35 | ||
36 | #endif |