author | koda |
Mon, 26 Sep 2011 01:32:48 +0200 | |
branch | hedgeroid |
changeset 6029 | 5073285b6599 |
parent 6009 | 14f6fc9869f2 |
child 6042 | 8b5345758f62 |
permissions | -rw-r--r-- |
5204 | 1 |
/* |
2 |
* Hedgewars, a free turn based strategy game |
|
3 |
* Copyright (c) 2006-2011 Andrey Korotaev <unC0Rr@gmail.com> |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
17 |
*/ |
|
18 |
||
19 |
#ifndef PAGE_SCHEME_H |
|
20 |
#define PAGE_SCHEME_H |
|
21 |
||
5205
78138ae93820
some headers cleanup and rename of stats and playrecord pages for consistency
koda
parents:
5204
diff
changeset
|
22 |
#include "AbstractPage.h" |
78138ae93820
some headers cleanup and rename of stats and playrecord pages for consistency
koda
parents:
5204
diff
changeset
|
23 |
#include "togglebutton.h" |
5204 | 24 |
|
25 |
class FreqSpinBox; |
|
26 |
||
27 |
class PageScheme : public AbstractPage |
|
28 |
{ |
|
29 |
Q_OBJECT |
|
30 |
||
31 |
public: |
|
32 |
PageScheme(QWidget* parent = 0); |
|
33 |
||
34 |
QPushButton * BtnCopy; |
|
35 |
QPushButton * BtnNew; |
|
36 |
QPushButton * BtnDelete; |
|
37 |
QPushButton * BtnSave; |
|
38 |
QComboBox * selectScheme; |
|
39 |
||
40 |
void setModel(QAbstractItemModel * model); |
|
41 |
||
42 |
public slots: |
|
43 |
void newRow(); |
|
44 |
void copyRow(); |
|
45 |
void deleteRow(); |
|
46 |
||
47 |
private: |
|
6009 | 48 |
QPushButton * BtnBack; |
49 |
||
5204 | 50 |
QDataWidgetMapper * mapper; |
51 |
ToggleButtonWidget * TBW_mode_Forts; |
|
52 |
ToggleButtonWidget * TBW_teamsDivide; |
|
53 |
ToggleButtonWidget * TBW_solid; |
|
54 |
ToggleButtonWidget * TBW_border; |
|
55 |
ToggleButtonWidget * TBW_lowGravity; |
|
56 |
ToggleButtonWidget * TBW_laserSight; |
|
57 |
ToggleButtonWidget * TBW_invulnerable; |
|
58 |
ToggleButtonWidget * TBW_resethealth; |
|
59 |
ToggleButtonWidget * TBW_vampiric; |
|
60 |
ToggleButtonWidget * TBW_karma; |
|
61 |
ToggleButtonWidget * TBW_artillery; |
|
62 |
ToggleButtonWidget * TBW_randomorder; |
|
63 |
ToggleButtonWidget * TBW_king; |
|
64 |
ToggleButtonWidget * TBW_placehog; |
|
65 |
ToggleButtonWidget * TBW_sharedammo; |
|
66 |
ToggleButtonWidget * TBW_disablegirders; |
|
67 |
ToggleButtonWidget * TBW_disablelandobjects; |
|
68 |
ToggleButtonWidget * TBW_aisurvival; |
|
69 |
ToggleButtonWidget * TBW_infattack; |
|
70 |
ToggleButtonWidget * TBW_resetweps; |
|
71 |
ToggleButtonWidget * TBW_perhogammo; |
|
72 |
ToggleButtonWidget * TBW_nowind; |
|
73 |
ToggleButtonWidget * TBW_morewind; |
|
74 |
ToggleButtonWidget * TBW_tagteam; |
|
5717 | 75 |
ToggleButtonWidget * TBW_bottomborder; |
5204 | 76 |
|
77 |
QSpinBox * SB_DamageModifier; |
|
78 |
QSpinBox * SB_TurnTime; |
|
79 |
QSpinBox * SB_InitHealth; |
|
80 |
QSpinBox * SB_SuddenDeath; |
|
81 |
QSpinBox * SB_WaterRise; |
|
82 |
QSpinBox * SB_HealthDecrease; |
|
83 |
FreqSpinBox * SB_CaseProb; |
|
84 |
QSpinBox * SB_HealthCrates; |
|
85 |
QSpinBox * SB_CrateHealth; |
|
86 |
QSpinBox * SB_MinesTime; |
|
87 |
QSpinBox * SB_Mines; |
|
88 |
QSpinBox * SB_MineDuds; |
|
89 |
QSpinBox * SB_Explosives; |
|
90 |
QSpinBox * SB_RopeModifier; |
|
91 |
QSpinBox * SB_GetAwayTime; |
|
92 |
QLineEdit * LE_name; |
|
93 |
||
94 |
QGroupBox * gbGameModes; |
|
95 |
QGroupBox * gbBasicSettings; |
|
96 |
||
97 |
private slots: |
|
98 |
void schemeSelected(int); |
|
99 |
||
100 |
}; |
|
101 |
||
102 |
#endif |