-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTDBAdminModification.h
53 lines (41 loc) · 1.03 KB
/
TDBAdminModification.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
45
46
47
48
49
50
51
52
53
#ifndef TDBADMINMODIFICATION_H
#define TDBADMINMODIFICATION_H
#include <iostream>
#include <QSqlQuery>
#include <QVariant>
#include <QSqlRecord>
#include <QCryptographicHash>
#include <QByteArray>
#include <QDialog>
#include <QLabel>
#include <QVBoxLayout>
#include <QLineEdit>
#include <QPushButton>
#include <QComboBox>
#include "TDBApplication.h"
#include "TDBDatabase.h"
#include "TDBAuth.h"
class TDBAdminModification : public QDialog
{
Q_OBJECT
private:
int admin_id;
QGridLayout* layout;
QLabel* trigramme_label;
QLabel* passwd1_label;
QLabel* passwd2_label;
QLabel* perm_label;
QLineEdit* trigramme_edit;
QLineEdit* passwd1_edit;
QLineEdit* passwd2_edit;
QComboBox* perm_combo;
QPushButton* ok_button;
QPushButton* cancel_button;
public:
TDBAdminModification(QWidget* parent, QString trigramme);
~TDBAdminModification();
public slots:
void ok_pressed();
void cancel_pressed();
};
#endif