-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
68 lines (38 loc) · 988 Bytes
/
mainwindow.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QThread>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
QThread thread;
QThread thread2;
QThread thread3;
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
float range;
private slots:
void on_vehButton_clicked();
void on_parseOutputButton_clicked();
void on_rangeSlider_valueChanged(int value);
void on_clearButton_clicked();
void finishWriting();
void handleParsingResults();
void finishGenerating();
void on_outputButton_clicked();
void on_areaSettingsButton_clicked();
void on_pedGenButton_clicked();
void on_resultsButton_clicked();
void checkIfReadyToCalculate();
private:
QString fileName;
QString outputFileName;
void updateSimInfo(int timesteps, int pedestrians);
Ui::MainWindow *ui;
void clearAll();
};
#endif // MAINWINDOW_H