简短文件名
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#ifndef PASSWORDRESETPAGE_H
|
||||
#define PASSWORDRESETPAGE_H
|
||||
|
||||
#include "base.h"
|
||||
|
||||
class QLineEdit;
|
||||
class QLabel;
|
||||
|
||||
// ===================== 密码重置界面 =====================
|
||||
class PasswordResetPage : public BasePage
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit PasswordResetPage(AppContext* ctx, QWidget* parent = nullptr);
|
||||
|
||||
void clearInput();
|
||||
|
||||
protected:
|
||||
bool eventFilter(QObject* obj, QEvent* ev) override;
|
||||
|
||||
private slots:
|
||||
void onInputClicked();
|
||||
void onConfirm();
|
||||
void onCancel();
|
||||
|
||||
private:
|
||||
QLineEdit* m_input = nullptr;
|
||||
QLabel* m_hint = nullptr;
|
||||
QString m_value;
|
||||
};
|
||||
|
||||
#endif // PASSWORDRESETPAGE_H
|
||||
Reference in New Issue
Block a user