-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcretrievedialog.h
58 lines (43 loc) · 1.14 KB
/
cretrievedialog.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
/******************************
* Author : YangRongBao
* Date : 2021.4
******************************/
#ifndef CRETRIEVEDIALOG_H
#define CRETRIEVEDIALOG_H
#include "cstring.h"
#include "cencrypt.h"
#include <QCoreApplication>
#include <QDataStream>
#include <QDialog>
#include <QDir>
#include <QFile>
#include <QLineEdit>
#include <QMessageBox>
#include <QRegExpValidator>
#include <QStringList>
namespace Ui {
class CRetrieveDialog;
}
class CRetrieveDialog : public QDialog
{
Q_OBJECT
signals:
void retrieved();
public:
explicit CRetrieveDialog(QWidget *parent = nullptr);
~CRetrieveDialog();
protected:
private:
Ui::CRetrieveDialog *ui;
const QString m_fileCode = "#APQA";
const QString m_path_users_enc = QCoreApplication::applicationDirPath() + "/system/users/";
const QString m_path_users_dir = QCoreApplication::applicationDirPath() + "/users/";
bool isNetwork = false;
QString m_password;
QString m_answer1;
QString m_answer2;
QStringList m_listUsers;
private slots:
void clearLineEdits();
};
#endif // CRETRIEVEDIALOG_H