7 #ifndef UPDATEPASSWORDDIALOG_H
8 #define UPDATEPASSWORDDIALOG_H
11 #include "qtmaterialradiobutton.h"
33 QVariantMap
getData()
const override;
46 void onShowHidePasswordClicked(
bool checked);
49 QtMaterialTextField* emailField;
50 QtMaterialTextField* currentPasswordField;
51 QtMaterialTextField* newPasswordField;
52 QtMaterialTextField* repeatedNewPasswordField;
53 QtMaterialRadioButton* showHidePasswordRadioButton;
54 bool isPasswordVisible;
Header file for the BaseDialog class.
The BaseDialog class provides a base class for creating dialogs with validation support.
Definition: BaseDialog.h:26
The UpdatePasswordDialog class provides a dialog for updating user passwords with input validation.
Definition: UpdatePasswordDialog.h:19
QVariantMap getData() const override
Retrieves the data entered in the dialog.
Definition: UpdatePasswordDialog.cpp:11
UpdatePasswordDialog(QWidget *parent=nullptr)
Constructor for UpdatePasswordDialog.
Definition: UpdatePasswordDialog.cpp:5
void setupUI() override
Sets up the user interface.
Definition: UpdatePasswordDialog.cpp:21