-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin_accounts_win.h
44 lines (34 loc) · 985 Bytes
/
admin_accounts_win.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef ADMIN_ACCOUNTS_WIN_H
#define ADMIN_ACCOUNTS_WIN_H
#include"datas.h"
#include <QDialog>
#include"adminmenu.h"
namespace Ui {
class admin_accounts_win;
}
class admin_accounts_win : public QDialog
{
Q_OBJECT
public:
explicit admin_accounts_win(QWidget *parent = nullptr);
~admin_accounts_win();
void setlastpage(adminmenu* _lastpage);
private slots:
void on_accountstable_cellClicked(int row, int column);
void on_unblockaccountbtn_clicked();
void on_blockaccountbtn_clicked();
void on_cardstable_cellClicked(int row, int column);
void on_unblockcardbtn_clicked();
void on_backbtn_clicked();
void on_blockcardbtn_clicked();
private:
Ui::admin_accounts_win *ui;
QVector<user> users=datas::getUsers();
int accountcount=0;
int cardcount=0;
card* workcard;
adminmenu* lastpage;
int usersrowselect;
account* workaccount;
};
#endif // ADMIN_ACCOUNTS_WIN_H