tychoGUI
1.0
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
mainwindow.h
Go to the documentation of this file.
1
#ifndef MAINWINDOW_H
2
#define MAINWINDOW_H
3
4
#include <QMainWindow>
5
#include "
help1.h
"
6
#include "
help2.h
"
7
#include "
help3.h
"
8
#include "
help4.h
"
9
#include "
help5.h
"
10
#include "
help6.h
"
11
#include "
help7.h
"
12
#include "
help7.h
"
13
#include "
help8.h
"
14
#include "
about.h
"
15
#include "
local_simulation.h
"
16
#include "
configure_path.h
"
17
18
namespace
Ui {
19
class
MainWindow
;
20
}
21
22
class
MainWindow
:
public
QMainWindow
23
{
24
Q_OBJECT
25
26
public
:
27
explicit
MainWindow
(QWidget *parent = 0);
28
~MainWindow
();
29
30
int
x_res
,
y_res
,
z_res
;
31
bool
resolution_is_yet_determined
;
32
33
private
slots:
34
//menus
35
void
quit
();
36
void
openfile
();
37
void
savefile
();
38
void
reset_gui
();
39
void
open_local_simulation
();
40
void
open_about
();
41
void
open_configure_path
();
42
43
//helpbuttons
44
void
open_help1
();
45
void
open_help2
();
46
void
open_help3
();
47
void
open_help4
();
48
void
open_help5
();
49
void
open_help6
();
50
void
open_help7
();
51
void
open_help8
();
52
53
void
set_parameters
(QList<QString> data);
54
55
void
ic_density
();
56
void
ic_temperature
();
57
void
ic_velocity
();
58
void
ic_wind
();
59
void
ic_obstacle
();
60
void
ic_marker
();
61
void
ic_soundemitter
();
62
void
output_path
();
63
void
check_resolution
(QString filename);
64
65
//to prevent wrong input
66
void
ic_logic
();
67
void
boundary_logic
();
68
void
dimension_logic
();
69
void
gravity_logic
();
70
void
windemitter_logic
();
71
void
obstacle_logic
();
72
void
marker_logic
();
73
void
soundemitter_logic
();
74
void
soundemitter_logic_part2
();
75
76
private
:
77
Ui::MainWindow
*
ui
;
78
79
help1
*
myhelp1
;
80
help2
*
myhelp2
;
81
help3
*
myhelp3
;
82
help4
*
myhelp4
;
83
help5
*
myhelp5
;
84
help6
*
myhelp6
;
85
help7
*
myhelp7
;
86
help8
*
myhelp8
;
87
88
configure_path
*
myconfigure_path
;
89
local_simulation
*
mylocal_simulation
;
90
91
about
*
myabout
;
92
93
QString
ic_density_file
;
94
QString
ic_temperature_file
;
95
QString
ic_velocity_file
;
96
QString
ic_windemitter_file
;
97
QString
ic_obstacle_file
;
98
QString
ic_marker_file
;
99
QString
ic_soundemitter_file
;
100
QString
output_directory
;
101
102
QString
boundary_selector
(QString boundary);
103
QString
ic_selector
(QString ic);
104
QString
filetype_selector
(QString filetype);
105
106
void
initiate_ic_files
();
107
108
};
109
110
#endif // MAINWINDOW_H
Generated on Wed Oct 9 2013 19:57:23 for tychoGUI by
1.8.1.1