|
1 #ifndef _INVENTORYYEASTPACKS_H |
|
2 #define _INVENTORYYEASTPACKS_H |
|
3 |
|
4 #include <QDialog> |
|
5 #include <QtWidgets/QGridLayout> |
|
6 #include <QtWidgets/QGroupBox> |
|
7 #include <QtWidgets/QHBoxLayout> |
|
8 #include <QtWidgets/QHeaderView> |
|
9 #include <QtWidgets/QPushButton> |
|
10 #include <QtWidgets/QTableWidget> |
|
11 |
|
12 namespace Ui { |
|
13 class InventoryYeastPacks; |
|
14 } |
|
15 |
|
16 class InventoryYeastPacks : public QDialog |
|
17 { |
|
18 Q_OBJECT |
|
19 |
|
20 public: |
|
21 explicit InventoryYeastPacks(QWidget *parent = nullptr); |
|
22 ~InventoryYeastPacks(); |
|
23 |
|
24 signals: |
|
25 void setStatus(QString); |
|
26 |
|
27 private slots: |
|
28 void on_insertButton_clicked(); |
|
29 void on_editButton_clicked(); |
|
30 void on_exportButton_clicked(); |
|
31 void refreshTable(void); |
|
32 |
|
33 private: |
|
34 QGridLayout *gridLayout; |
|
35 QTableWidget *tableYeastPacks; |
|
36 QGroupBox *groupBox; |
|
37 QHBoxLayout *horizontalLayout; |
|
38 QPushButton *quitButton; |
|
39 QPushButton *exportButton; |
|
40 QPushButton *insertButton; |
|
41 |
|
42 void edit(int recno); |
|
43 }; |
|
44 |
|
45 #endif |