-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration_key.h
49 lines (39 loc) · 991 Bytes
/
registration_key.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
#ifndef REGISTRATION_KEY_H
#define REGISTRATION_KEY_H
#include <QWidget>
#include "widgetparent.h"
#include "messages.h"
namespace Ui {
class Registration_Key;
}
class Registration_Key : public WidgetParent
{
Q_OBJECT
public:
explicit Registration_Key(WidgetParent *parent = 0);
~Registration_Key();
protected:
void keyPressEvent(QKeyEvent *event);
void keyReleaseEvent(QKeyEvent *event);
public slots:
void DrawGUI();
void filling_hotkey();
void Recieve_data(int Row, QString keys);
private slots:
void on_CloseApp_clicked();
void on_register_hothey_clicked();
signals:
void send_HotKey(QString, QString, int, int, int);
void sendEnabler(bool);
private:
Ui::Registration_Key *ui;
QSet<int> * Keys_event;
QString Key_One;
QString Key_Two;
int id_Key_One;
int id_Key_two;
int row;
QHash<int, QString> myMapKey;
bool flag_Key_One_true, flag_Key_Two_true, flag_Apply;
};
#endif // REGISTRATION_KEY_H