-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.h
63 lines (38 loc) · 873 Bytes
/
login.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
54
55
56
57
58
59
60
61
62
63
#ifndef LOGIN_H
#define LOGIN_H
#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QDialogButtonBox>
#include <QLineEdit>
#include <QComboBox>
#include <QGridLayout>
#include <QStringList>
#include <QDebug>
#include<LinquedinClient.h>
#include<qtextedit.h>
#include<mainwindow.h>
#include<admin.h>
#include<QSharedPointer>
class LoginDialog : public QDialog
{
Q_OBJECT
private:
QTextEdit* mostrastato;
QLabel* labelUsername;
QLabel* labelPassword;
QComboBox* comboUsername;
QLineEdit* editPassword;
QDialogButtonBox* buttons;
QSharedPointer<MyWidget> w;
QSharedPointer<AdminGUI> admin;
void setUpGUI();
DB*database;
public:
explicit LoginDialog(QWidget *parent = 0);
signals:
void acceptLogin( QString& username);
public slots:
void slotAcceptLogin();
};
#endif // LOGIN_H