-
Notifications
You must be signed in to change notification settings - Fork 0
/
firstlogin.h
58 lines (40 loc) · 1.05 KB
/
firstlogin.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
#ifndef FIRSTLOGIN_H
#define FIRSTLOGIN_H
#include <QWidget>
#include <QLibrary>
namespace Ui {
class FirstLogin;
}
#define MODULE_FIRST_LOGIN "FIRST_LOGIN"
typedef short(*FUN)(int);
class FirstLogin : public QWidget
{
Q_OBJECT
public:
explicit FirstLogin(QWidget *parent = 0);
~FirstLogin();
private slots:
void on_createBtn_clicked();
void on_pwdLineEdit2_returnPressed();
void on_minBtn_clicked();
void on_closeBtn_clicked();
void on_pwdLineEdit_textChanged(const QString &arg1);
void on_pwdLineEdit2_textChanged(const QString &arg1);
void jsonDataUpdated(QString id);
void walletCreate(QString id);
void walletUnlockFirstLogin(QString id);
signals:
void login();
void minimum();
void closeGOP();
void tray();
void showShadowWidget();
void hideShadowWidget();
private:
Ui::FirstLogin *ui;
void paintEvent(QPaintEvent*);
bool eventFilter(QObject *watched, QEvent *e);
void keyPressEvent(QKeyEvent* e);
void keyReleaseEvent(QKeyEvent *e);
};
#endif // FIRSTLOGIN_H