Banking_System_Client  1.0.0
Qt-based banking app for user/admin account management, transactions, secure server communication via PostgreSQL/Supabase.
UpdateEmailDialog.h
Go to the documentation of this file.
1 
7 #ifndef UPDATEEMAILDIALOG_H
8 #define UPDATEEMAILDIALOG_H
9 
10 #include "BaseDialog.h"
11 
18 {
19  Q_OBJECT
20 
21 public:
26  UpdateEmailDialog(QWidget* parent = nullptr);
27 
32  QVariantMap getData() const override;
33 
34 protected:
38  void setupUI() override;
39 
40 private:
41  QtMaterialTextField* emailField;
42  QtMaterialTextField* newEmailField;
43  QtMaterialTextField* passwordField;
44 };
45 
46 #endif // UPDATEEMAILDIALOG_H
Header file for the BaseDialog class.
The BaseDialog class provides a base class for creating dialogs with validation support.
Definition: BaseDialog.h:26
The UpdateEmailDialog class provides a dialog for updating user email with input validation.
Definition: UpdateEmailDialog.h:18
QVariantMap getData() const override
Retrieves the data entered in the dialog.
Definition: UpdateEmailDialog.cpp:11
void setupUI() override
Sets up the user interface.
Definition: UpdateEmailDialog.cpp:20
UpdateEmailDialog(QWidget *parent=nullptr)
Constructor for UpdateEmailDialog.
Definition: UpdateEmailDialog.cpp:5