Fri, 29 Jul 2022 17:12:02 +0200
Added hop clone
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(); | |
292
b6ec2e275736
Fixed missing settings from the Miscs and Hops editors.
Michiel Broek <mbroek@mbse.eu>
parents:
24
diff
changeset
|
28 | void prod_date_clear(); |
b6ec2e275736
Fixed missing settings from the Miscs and Hops editors.
Michiel Broek <mbroek@mbse.eu>
parents:
24
diff
changeset
|
29 | void prod_date_today(); |
b6ec2e275736
Fixed missing settings from the Miscs and Hops editors.
Michiel Broek <mbroek@mbse.eu>
parents:
24
diff
changeset
|
30 | void tht_date_clear(); |
b6ec2e275736
Fixed missing settings from the Miscs and Hops editors.
Michiel Broek <mbroek@mbse.eu>
parents:
24
diff
changeset
|
31 | void tht_date_today(); |
24 | 32 | |
33 | private: | |
34 | Ui::EditHop *ui; | |
35 | int recno; | |
36 | bool textIsChanged = false; | |
37 | ||
38 | void WindowTitle(); | |
39 | }; | |
40 | ||
41 | #endif |