-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogonmenu.h
57 lines (41 loc) · 1.07 KB
/
logonmenu.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
#ifndef LOGONMENU_H
#define LOGONMENU_H
#include <QDialog>
#include <QtCore>
#include <QtGui>
#include <QDebug>
#include <QString>
#include <QMessageBox>
#include <QPixmap>
#include <QSound>
#include <QPoint>
#include <QBitmap>
#include "nstudentdialog.h"
#include "mainwindow.h"
namespace Ui {
class LogonMenu;
}
class LogonMenu : public QDialog
{
Q_OBJECT
public:
explicit LogonMenu(QWidget *parent = 0);
~LogonMenu();
private slots:
void on_UsernameLine_textChanged(const QString &arg1);
void on_PasswordLine_textChanged(const QString &arg1);
void on_LoginButton_clicked();
private:
Ui::LogonMenu *ui;
void load_main_settings();
void check_login();
void start_rubik();
void mouseMoveEvent(QMouseEvent *event);
void mousePressEvent(QMouseEvent *event);
QString username, password;
QPoint dragPosition;
QPalette *newPalette;
QSound *padlockSound;
QSize imagesize;
};
#endif // LOGONMENU_H