49 void on_pushButtonRegister_clicked();
54 void on_pushButtonCancel_clicked();
59 void on_comboBoxRegistrationType_changed();
70 void setupRegistrationGroup();
75 void setupApplicantGroup();
85 void updateRegistrationFormBasedOnRegistrationType();
90 void setupInputValidation();
96 bool isValidInput(
const QString &type,
const QString &name,
const QString &affiliation,
const QString &email,
const QString &qualification,
const QString &category);
99 QComboBox *comboBoxRegistrationType;
100 QDateEdit *dateEditBookingDate;
101 QLineEdit *lineEditName;
102 QLineEdit *lineEditAffiliation;
103 QLineEdit *lineEditEmail;
104 QLineEdit *lineEditStudentQualification;
105 QLineEdit *lineEditGuestCategory;
106 QPushButton *pushButtonRegister;
107 QPushButton *pushButtonCancel;
108 QGridLayout *mainLayout;
109 QGridLayout *gridLayoutApplicant;
110 QGroupBox *groupBoxRegistration;
111 QGroupBox *groupBoxApplicant;
112 QLabel *labelStudentQualification;
113 QLabel *labelGuestCategory;
NewRegistrationDialog(RegistrationList *list, QDialog *parent=nullptr)
Constructs a NewRegistrationDialog object.
Definition newregistrationdialog.cpp:23