[new] 新增正则表达式和管理员密码输入

This commit is contained in:
xueyan hu
2021-12-20 18:08:32 +08:00
parent 6cf1a1b556
commit aefd4cd367
18 changed files with 629 additions and 779 deletions

25
src/network/getadminpsw.h Normal file
View File

@@ -0,0 +1,25 @@
//
// Created by Krad on 2021/11/11.
//
#ifndef GUI_GETADMINPSW_H
#define GUI_GETADMINPSW_H
#include "GUIFormBaseDialog.h"
class QLineEdit;
class QLabel;
class GetAdminPsw :public GUIFormBaseDialog {
Q_OBJECT
public:
explicit GetAdminPsw(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
~GetAdminPsw();
QString getPsw()const;
protected:
bool updateReferenceData();
private:
QLineEdit* _psw = nullptr;
QLabel* lbl_error = nullptr;
};
#endif //GUI_GETADMINPSW_H