|
1 #ifndef _EDITPROFILEMASH_H |
|
2 #define _EDITPROFILEMASH_H |
|
3 |
|
4 #include <QDialog> |
|
5 #include <QJsonDocument> |
|
6 |
|
7 namespace Ui { |
|
8 class EditProfileMash; |
|
9 } |
|
10 |
|
11 class EditProfileMash : public QDialog |
|
12 { |
|
13 Q_OBJECT |
|
14 |
|
15 signals: |
|
16 void entry_changed(); |
|
17 |
|
18 public: |
|
19 explicit EditProfileMash(int id, QWidget *parent = 0); |
|
20 ~EditProfileMash(); |
|
21 |
|
22 private slots: |
|
23 void on_saveButton_clicked(); |
|
24 void on_quitButton_clicked(); |
|
25 void on_deleteButton_clicked(); |
|
26 void is_changed(); |
|
27 void refreshTable(void); |
|
28 void cell_Changed(int nRow, int nCol); |
|
29 void on_addButton_clicked(); |
|
30 void on_deleteRow_clicked(); |
|
31 |
|
32 private: |
|
33 Ui::EditProfileMash *ui; |
|
34 int recno; |
|
35 bool textIsChanged = false; |
|
36 QJsonDocument steps; |
|
37 |
|
38 void WindowTitle(); |
|
39 }; |
|
40 |
|
41 #endif |