Conference Registration 2024.07.18.04
Loading...
Searching...
No Matches
mainwindow.h
Go to the documentation of this file.
1
9#ifndef MAINWINDOW_H
10#define MAINWINDOW_H
11
12#include <QMainWindow>
13
14class QGridLayout;
15class QLineEdit;
16class QPushButton;
17class QTableView;
21
22
28class MainWindow : public QMainWindow
29{
30 Q_OBJECT
31public:
36 explicit MainWindow(QWidget *parent = nullptr);
37
42
43private:
48 void setupUI(QMainWindow *mainApplicationWindow);
49
50private slots:
54 void on_actionAddAttendee_triggered();
55
59 void on_actionGetTotalFees_triggered();
60
64 void on_actionGetNumberOfAttendeesFromAffiliation_triggered();
65
69 void on_actionClearFilter_triggered();
70
74 void on_actionExportRegistrationList_triggered();
75
79 void on_actionImportRegistrationList_triggered();
80
81private:
82 QTableView *tableViewRegistrations;
83 RegistrationModel *registrationModel;
84 RegistrationList *registrationList;
85 QMenuBar *menuBar;
86 QStatusBar *statusBar;
87 QToolBar *toolBar;
88 QAction *actionAddAttendee;
89 QAction *actionExportRegistrationList;
90 QAction *actionImportRegistrationList;
91 QAction *actionSearchAttendee;
92 QAction *actionGetTotalFees;
93 QAction *actionGetNumberOfAttendeesForAffiliation;
94 QAction *actionClose;
95 QLineEdit *lineEditSearch;
96 QPushButton *pushButtonClear;
98};
99
100#endif // MAINWINDOW_H
The MainWindow class represents the main application window.
Definition mainwindow.h:29
MainWindow(QWidget *parent=nullptr)
Constructs a MainWindow object.
Definition mainwindow.cpp:34
~MainWindow()
Destroys the MainWindow object.
Definition mainwindow.cpp:65
The RegistrationFilterProxyModel class is a custom proxy model that filters the data based on a filte...
Definition registrationfilterproxymodel.h:21
Manages a list of conference registrations.
Definition registrationlist.h:28
The RegistrationModel class is a custom model that extends QStandardItemModel.
Definition registrationmodel.h:23