7 #ifndef UPDATEUSERDIALOG_H
8 #define UPDATEUSERDIALOG_H
12 #include <QVariantMap>
13 #include "qtmaterialflatbutton.h"
14 #include "qtmaterialtextfield.h"
37 QVariantMap
getData()
const override;
49 void setupUI()
override;
54 void connectSignals()
override;
59 QtMaterialTextField* firstNameEdit;
60 QtMaterialTextField* lastNameEdit;
61 QtMaterialTextField* emailEdit;
62 QComboBox* roleComboBox;
64 QLabel* notificationErrorLabel;
Header file for the BaseDialog class.
The BaseDialog class provides a base class for creating dialogs with validation support.
Definition: BaseDialog.h:26
The UpdateUserDialog class provides a dialog for updating user information with input validation.
Definition: UpdateUserDialog.h:22
QVariantMap getData() const override
Retrieves the data entered in the dialog.
Definition: UpdateUserDialog.cpp:19
UpdateUserDialog(QVariantMap data, QWidget *parent=nullptr)
Constructor for UpdateUserDialog.
Definition: UpdateUserDialog.cpp:5