-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtaskdialog.h
41 lines (39 loc) · 989 Bytes
/
taskdialog.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
#ifndef TASKDIALOG_H
#define TASKDIALOG_H
#include <QDialog>
#include <QResizeEvent>
#include <QStandardItemModel>
#include <QStandardItem>
#include <QString>
#include <QPixmap>
#include <QImage>
namespace Ui {
class taskDialog;
}
class taskDialog : public QDialog {
Q_OBJECT
public:
explicit taskDialog(QWidget *parent = 0);
~taskDialog();
void resizeEvent(QResizeEvent * = 0);
private slots:
void on_butADD_clicked();
void on_txtSYSID_textEdited(const QString &arg1);
void on_txtWACN_textEdited(const QString &arg1);
void on_winKeys_customContextMenuRequested(const QPoint &pos);
void deleteTASK();
private:
QImage pTick;
QImage smTick;
QImage pCross;
QImage smCross;
Ui::taskDialog *ui;
QStandardItemModel *myModel;
QStringList keyFiles;
void drawWindow();
int currentRow;
QString TEAEncrypt(QString,QString);
QString TEADecrypt(QString,QString);
bool TEACheckKey(QString);
};
#endif // TASKDIALOG_H