src/InventoryHops.h

changeset 69
228cb2a01acf
parent 44
5a9a159c2d34
child 79
e726db72da3c
equal deleted inserted replaced
68:abac28effb21 69:228cb2a01acf
1 #ifndef _INVENTORYHOPS_H 1 #ifndef _INVENTORYHOPS_H
2 #define _INVENTORYHOPS_H 2 #define _INVENTORYHOPS_H
3 3
4 #include <QDialog> 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>
5 11
6 namespace Ui { 12 namespace Ui {
7 class InventoryHops; 13 class InventoryHops;
8 } 14 }
9 15
13 19
14 public: 20 public:
15 explicit InventoryHops(QWidget *parent = nullptr); 21 explicit InventoryHops(QWidget *parent = nullptr);
16 ~InventoryHops(); 22 ~InventoryHops();
17 23
18 signals:
19 void firstWindow();
20
21 private slots: 24 private slots:
22 void on_quitButton_clicked();
23 void on_insertButton_clicked(); 25 void on_insertButton_clicked();
24 void on_editButton_clicked(); 26 void on_editButton_clicked();
25 void on_exportButton_clicked(); 27 void on_exportButton_clicked();
26 void refreshTable(void); 28 void refreshTable(void);
27 29
28 private: 30 private:
29 Ui::InventoryHops *ui; 31 QGridLayout *gridLayout;
32 QTableWidget *tableHops;
33 QGroupBox *groupBox;
34 QHBoxLayout *horizontalLayout;
35 QPushButton *quitButton;
36 QPushButton *exportButton;
37 QPushButton *importButton;
38 QPushButton *insertButton;
39
30 void edit(int recno); 40 void edit(int recno);
31 }; 41 };
32 42
33 #endif 43 #endif

mercurial