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.
56 | 1 | #ifndef _PROFILESTYLES_H |
2 | #define _PROFILESTYLES_H | |
3 | ||
4 | #include <QDialog> | |
5 | ||
6 | namespace Ui { | |
7 | class ProfileStyles; | |
8 | } | |
9 | ||
10 | class ProfileStyles : public QDialog | |
11 | { | |
12 | Q_OBJECT | |
13 | ||
14 | public: | |
15 | explicit ProfileStyles(QWidget *parent = nullptr); | |
16 | ~ProfileStyles(); | |
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(); | |
25 | void refreshTable(void); | |
26 | ||
27 | private: | |
28 | Ui::ProfileStyles *ui; | |
29 | void edit(int recno); | |
30 | }; | |
31 | ||
32 | #endif |