Files
GUI/src/ChangePasswordFormDialog.h
2021-11-12 14:32:22 +08:00

29 lines
642 B
C++

//
// Created by Krad on 2021/11/11.
//
#ifndef GUI_CHANGEPASSWORDFORMDIALOG_H
#define GUI_CHANGEPASSWORDFORMDIALOG_H
#include "GUIFormBaseDialog.h"
class QLineEdit;
class QLabel;
class ChangePasswordFormDialog:public GUIFormBaseDialog{
Q_OBJECT
public:
explicit ChangePasswordFormDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
~ChangePasswordFormDialog();
protected:
bool updateReferenceData() override;
private:
QLineEdit* pwd = nullptr;
QLineEdit* new_pwd = nullptr;
QLineEdit* confirm_pwd = nullptr;
QLabel* lbl_error = nullptr;
};
#endif //GUI_CHANGEPASSWORDFORMDIALOG_H