-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrid_window.H
More file actions
67 lines (40 loc) · 1003 Bytes
/
grid_window.H
File metadata and controls
67 lines (40 loc) · 1003 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# ifndef GRID_WINDOW_H
# define GRID_WINDOW_H
# include <QtGui>
# include <ui_grid_form.h>
# include <grid_panel.H>
# include <grid_panel_listener.H>
# include <sim_listener.H>
# include <configuration_panel.H>
# include <statistics_panel.H>
class Configuration_Panel;
class Statistics_Panel;
class Grid_Panel;
class Grid_Window : public QWidget, Grid_Panel_Listener, Sim_Listener
{
Q_OBJECT
Simulator * simulator;
Configuration_Panel * conf_panel;
Statistics_Panel * stat_panel;
Configuration * conf;
Routing_Algorithm routing_algorithm;
public:
Grid_Panel * panel;
bool editable;
Ui_Grid_Form ui;
explicit Grid_Window(QWidget * parent = 0);
~Grid_Window();
void panel_clicked();
void step();
void start();
void stop();
void closeEvent(QCloseEvent *);
public slots:
void check_in_clicked();
void check_out_clicked();
void execute();
void configure();
void configuration_changed();
void view_statistics();
};
# endif // GRID_WINDOW_H