-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminwindow.h
50 lines (34 loc) · 890 Bytes
/
adminwindow.h
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
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef ADMINWINDOW_H
#define ADMINWINDOW_H
#include "src/lib/shared_ptr.hpp"
#include "src/RailwayMinistry.hpp"
#include "src/Admin.hpp"
#include <QMainWindow>
using namespace sjtu;
namespace Ui {
class AdminWindow;
}
class AdminWindow : public QMainWindow
{
Q_OBJECT
public:
explicit AdminWindow(QWidget *parent = 0);
~AdminWindow();
Admin admin;
void load(string id,shared_ptr<RailwayMinistry>_rm);
private slots:
void on_openCSV_clicked();
void on_load_clicked();
void on_open_log_clicked();
void on_load_log_clicked();
void on_query_user_clicked();
void on_export_log_clicked();
void on_pushButton_11_clicked();
void on_train_query_2_clicked();
void on_pushButton_9_clicked();
void on_pushButton_3_clicked();
void on_pushButton_5_clicked();
private:
Ui::AdminWindow *ui;
};
#endif // ADMINWINDOW_H