Sat, 19 Mar 2022 19:22:58 +0100
First step in loading the Inventory Suppliers database on the mainscreen. But, it is loaded at program start en not removed when done. Weird programming to get this working.
24 | 1 | #ifndef _INVENTORYHOPS_H |
2 | #define _INVENTORYHOPS_H | |
3 | ||
4 | #include <QDialog> | |
5 | ||
6 | namespace Ui { | |
7 | class InventoryHops; | |
8 | } | |
9 | ||
10 | class InventoryHops : public QDialog | |
11 | { | |
12 | Q_OBJECT | |
13 | ||
14 | public: | |
15 | explicit InventoryHops(QWidget *parent = nullptr); | |
16 | ~InventoryHops(); | |
17 | ||
18 | signals: | |
19 | void firstWindow(); | |
20 | ||
21 | private slots: | |
22 | void on_quitButton_clicked(); | |
23 | void on_insertButton_clicked(); | |
24 | void on_editButton_clicked(); | |
44
5a9a159c2d34
Added yeasts and hops XML exports.
Michiel Broek <mbroek@mbse.eu>
parents:
24
diff
changeset
|
25 | void on_exportButton_clicked(); |
24 | 26 | void refreshTable(void); |
27 | ||
28 | private: | |
29 | Ui::InventoryHops *ui; | |
30 | void edit(int recno); | |
31 | }; | |
32 | ||
33 | #endif |