2
* Hedgewars, a free turn based strategy game
3
* Copyright (c) 2006-2011 Andrey Korotaev <unC0Rr@gmail.com>
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
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.
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
22
#include "AbstractPage.h"
23
#include "togglebutton.h"
27
class PageScheme : public AbstractPage
32
PageScheme(QWidget* parent = 0);
34
QPushButton * BtnBack;
35
QPushButton * BtnCopy;
37
QPushButton * BtnDelete;
38
QPushButton * BtnSave;
39
QComboBox * selectScheme;
41
void setModel(QAbstractItemModel * model);
49
QDataWidgetMapper * mapper;
50
ToggleButtonWidget * TBW_mode_Forts;
51
ToggleButtonWidget * TBW_teamsDivide;
52
ToggleButtonWidget * TBW_solid;
53
ToggleButtonWidget * TBW_border;
54
ToggleButtonWidget * TBW_lowGravity;
55
ToggleButtonWidget * TBW_laserSight;
56
ToggleButtonWidget * TBW_invulnerable;
57
ToggleButtonWidget * TBW_resethealth;
58
ToggleButtonWidget * TBW_vampiric;
59
ToggleButtonWidget * TBW_karma;
60
ToggleButtonWidget * TBW_artillery;
61
ToggleButtonWidget * TBW_randomorder;
62
ToggleButtonWidget * TBW_king;
63
ToggleButtonWidget * TBW_placehog;
64
ToggleButtonWidget * TBW_sharedammo;
65
ToggleButtonWidget * TBW_disablegirders;
66
ToggleButtonWidget * TBW_disablelandobjects;
67
ToggleButtonWidget * TBW_aisurvival;
68
ToggleButtonWidget * TBW_infattack;
69
ToggleButtonWidget * TBW_resetweps;
70
ToggleButtonWidget * TBW_perhogammo;
71
ToggleButtonWidget * TBW_nowind;
72
ToggleButtonWidget * TBW_morewind;
73
ToggleButtonWidget * TBW_tagteam;
74
ToggleButtonWidget * TBW_bottomborder;
76
QSpinBox * SB_DamageModifier;
77
QSpinBox * SB_TurnTime;
78
QSpinBox * SB_InitHealth;
79
QSpinBox * SB_SuddenDeath;
80
QSpinBox * SB_WaterRise;
81
QSpinBox * SB_HealthDecrease;
82
FreqSpinBox * SB_CaseProb;
83
QSpinBox * SB_HealthCrates;
84
QSpinBox * SB_CrateHealth;
85
QSpinBox * SB_MinesTime;
87
QSpinBox * SB_MineDuds;
88
QSpinBox * SB_Explosives;
89
QSpinBox * SB_RopeModifier;
90
QSpinBox * SB_GetAwayTime;
93
QGroupBox * gbGameModes;
94
QGroupBox * gbBasicSettings;
97
void schemeSelected(int);