-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadministrator.h
More file actions
38 lines (26 loc) · 749 Bytes
/
administrator.h
File metadata and controls
38 lines (26 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef ADMINISTRATOR_H
#define ADMINISTRATOR_H
#include "qboxlayout.h"
#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui { class Administrator; }
QT_END_NAMESPACE
class Administrator : public QWidget
{
Q_OBJECT
public:
explicit Administrator(QWidget *parent = nullptr);
~Administrator();
void plotIncomeChart(QDate startDate, QDate endDate);
private slots:
void on_pushButton_AddStaff_clicked();
void on_pushButton_SaveStaff_clicked();
void on_pushButton_RemoveStaff_clicked();
void on_comboBox_StaffSelected_currentIndexChanged(int index);
void on_pushButton_generate_clicked();
private:
Ui::Administrator *ui;
void updateStaffList();
void updateStuff();
};
#endif // ADMINISTRATOR_H