src/ProfileMashs.h

changeset 75
5f953abbd73c
parent 49
29cf6e350063
child 79
e726db72da3c
equal deleted inserted replaced
74:4ac38457a709 75:5f953abbd73c
1 #ifndef _PROFILEMASHS_H 1 #ifndef _PROFILEMASHS_H
2 #define _PROFILEMASHS_H 2 #define _PROFILEMASHS_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 ProfileMashs; 13 class ProfileMashs;
8 } 14 }
9 15
13 19
14 public: 20 public:
15 explicit ProfileMashs(QWidget *parent = nullptr); 21 explicit ProfileMashs(QWidget *parent = nullptr);
16 ~ProfileMashs(); 22 ~ProfileMashs();
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 refreshTable(void); 27 void refreshTable(void);
26 28
27 private: 29 private:
28 Ui::ProfileMashs *ui; 30 QGridLayout *gridLayout;
31 QTableWidget *tableMashs;
32 QGroupBox *groupBox;
33 QHBoxLayout *horizontalLayout;
34 QPushButton *quitButton;
35 QPushButton *insertButton;
36
29 void edit(int recno); 37 void edit(int recno);
30 }; 38 };
31 39
32 #endif 40 #endif

mercurial