-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
executable file
·143 lines (85 loc) · 3.19 KB
/
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
int row, column;
char display[4];
char *tableau[5][27];
int dice, BO, BD;
int round_prep;
int arme, armor, distance, no_reload;
int AttackIndex, attack_size;
int extra_steps;
bool shield, flanked, reared, suprised, stunned, switches, half, thrown;
int AD, dyn_index, movement, competence;
bool stunned_ad, fallen, membre_hs;
int Jr, lvlT, lvlC;
int JA, JE;
int deplacement, terrain, grp_size, density;
int travelled;
bool hostiles, patrols, curee;
bool nyct, nyct_night, nyct_day;
bool camp, camp12, camp16;
void do_result();
int range_mod(int portee);
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
void on_radioButton_6_toggled(bool checked);
void on_radioButton_2_toggled(bool checked);
void on_radioButton_3_toggled(bool checked);
void on_radioButton_7_toggled(bool checked);
void on_radioButton_8_toggled(bool checked);
void on_checkBox_9_toggled(bool checked);
void on_pushButton_clicked();
void on_treeWidget_clicked(const QModelIndex &index);
void on_checkBox_toggled(bool checked);
void on_spinBox_4_valueChanged(int arg1);
void on_pushButton_2_clicked();
void on_pushButton_3_clicked();
void on_pushButton_4_clicked();
void on_pushButton_6_clicked();
void on_checkBox_10_toggled(bool checked);
void on_spinBox_valueChanged(int arg1);
void on_spinBox_2_valueChanged(int arg1);
void on_spinBox_3_valueChanged(int arg1);
void on_comboBox_2_currentIndexChanged(int index);
void on_comboBox_5_currentIndexChanged(int index);
void on_spinBox_5_valueChanged(int arg1);
void on_comboBox_8_currentIndexChanged(int index);
void on_spinBox_14_valueChanged(int arg1);
void on_spinBox_16_valueChanged(int arg1);
void on_spinBox_15_valueChanged(int arg1);
void on_comboBox_currentIndexChanged(int index);
void on_spinBox_7_valueChanged(int arg1);
void on_spinBox_8_valueChanged(int arg1);
void on_spinBox_6_valueChanged(int arg1);
void on_radioButton_12_toggled(bool checked);
void on_radioButton_13_toggled(bool checked);
void on_radioButton_14_toggled(bool checked);
void on_radioButton_5_toggled(bool checked);
void on_radioButton_9_toggled(bool checked);
void on_groupBox_4_toggled(bool arg1);
void on_spinBox_9_valueChanged(int arg1);
void on_spinBox_10_valueChanged(int arg1);
void on_comboBox_4_currentIndexChanged(int index);
void on_comboBox_3_currentIndexChanged(int index);
void on_comboBox_7_currentIndexChanged(int index);
void on_comboBox_6_currentIndexChanged(int index);
void on_groupBox_3_toggled(bool arg1);
void on_radioButton_toggled(bool checked);
void on_radioButton_4_toggled(bool checked);
void on_checkBox_4_toggled(bool checked);
void on_checkBox_5_toggled(bool checked);
void on_checkBox_3_toggled(bool checked);
void on_checkBox_2_toggled(bool checked);
private:
Ui::MainWindow *ui;
};
#endif //MAINWINDOW_H