66 gbGameModes->setLayout(glGMLayout); |
66 gbGameModes->setLayout(glGMLayout); |
67 gbBasicSettings->setLayout(glBSLayout); |
67 gbBasicSettings->setLayout(glBSLayout); |
68 // Left |
68 // Left |
69 |
69 |
70 TBW_mode_Forts = new ToggleButtonWidget(gbGameModes, ":/res/btnForts@2x.png"); |
70 TBW_mode_Forts = new ToggleButtonWidget(gbGameModes, ":/res/btnForts@2x.png"); |
71 TBW_mode_Forts->setToolTip("<b>" + ToggleButtonWidget::tr("Fort Mode") + "</b>:<br />" + tr("Defend your fort and destroy the opponents, two team colours max!")); |
71 TBW_mode_Forts->setToolTip("<b>" + ToggleButtonWidget::tr("Fort Mode") + "</b>"); |
|
72 TBW_mode_Forts->setWhatsThis(tr("Defend your fort and destroy the opponents, two team colours max!")); |
72 glGMLayout->addWidget(TBW_mode_Forts,0,0,1,1); |
73 glGMLayout->addWidget(TBW_mode_Forts,0,0,1,1); |
73 |
74 |
74 TBW_teamsDivide = new ToggleButtonWidget(gbGameModes, ":/res/btnTeamsDivide@2x.png"); |
75 TBW_teamsDivide = new ToggleButtonWidget(gbGameModes, ":/res/btnTeamsDivide@2x.png"); |
75 TBW_teamsDivide->setToolTip("<b>" + ToggleButtonWidget::tr("Divide Teams") + "</b>:<br />" + tr("Teams will start on opposite sides of the terrain, two team colours max!")); |
76 TBW_teamsDivide->setToolTip("<b>" + ToggleButtonWidget::tr("Divide Teams") + "</b>"); |
|
77 TBW_teamsDivide->setWhatsThis(tr("Teams will start on opposite sides of the terrain, two team colours max!")); |
76 glGMLayout->addWidget(TBW_teamsDivide,0,1,1,1); |
78 glGMLayout->addWidget(TBW_teamsDivide,0,1,1,1); |
77 |
79 |
78 TBW_solid = new ToggleButtonWidget(gbGameModes, ":/res/btnSolid@2x.png"); |
80 TBW_solid = new ToggleButtonWidget(gbGameModes, ":/res/btnSolid@2x.png"); |
79 TBW_solid->setToolTip("<b>" + ToggleButtonWidget::tr("Solid Land") + "</b>:<br />" + tr("Land can not be destroyed!")); |
81 TBW_solid->setToolTip("<b>" + ToggleButtonWidget::tr("Solid Land") + "</b>"); |
|
82 TBW_solid->setWhatsThis(tr("Land can not be destroyed!")); |
80 glGMLayout->addWidget(TBW_solid,0,2,1,1); |
83 glGMLayout->addWidget(TBW_solid,0,2,1,1); |
81 |
84 |
82 TBW_border = new ToggleButtonWidget(gbGameModes, ":/res/btnBorder@2x.png"); |
85 TBW_border = new ToggleButtonWidget(gbGameModes, ":/res/btnBorder@2x.png"); |
83 TBW_border->setToolTip("<b>" + ToggleButtonWidget::tr("Add Border") + "</b>:<br />" + tr("Add an indestructible border around the terrain")); |
86 TBW_border->setToolTip("<b>" + ToggleButtonWidget::tr("Add Border") + "</b>"); |
|
87 TBW_border->setWhatsThis(tr("Add an indestructible border around the terrain")); |
84 glGMLayout->addWidget(TBW_border,0,3,1,1); |
88 glGMLayout->addWidget(TBW_border,0,3,1,1); |
85 |
89 |
86 TBW_lowGravity = new ToggleButtonWidget(gbGameModes, ":/res/btnLowGravity@2x.png"); |
90 TBW_lowGravity = new ToggleButtonWidget(gbGameModes, ":/res/btnLowGravity@2x.png"); |
87 TBW_lowGravity->setToolTip("<b>" + ToggleButtonWidget::tr("Low Gravity") + "</b>:<br />" + tr("Lower gravity")); |
91 TBW_lowGravity->setToolTip("<b>" + ToggleButtonWidget::tr("Low Gravity") + "</b>"); |
|
92 TBW_lowGravity->setWhatsThis(tr("Lower gravity")); |
88 glGMLayout->addWidget(TBW_lowGravity,0,4,1,1); |
93 glGMLayout->addWidget(TBW_lowGravity,0,4,1,1); |
89 |
94 |
90 TBW_laserSight = new ToggleButtonWidget(gbGameModes, ":/res/btnLaserSight@2x.png"); |
95 TBW_laserSight = new ToggleButtonWidget(gbGameModes, ":/res/btnLaserSight@2x.png"); |
91 TBW_laserSight->setToolTip("<b>" + ToggleButtonWidget::tr("Laser Sight") + "</b>:<br />" + tr("Assisted aiming with laser sight")); |
96 TBW_laserSight->setToolTip("<b>" + ToggleButtonWidget::tr("Laser Sight") + "</b>"); |
|
97 TBW_laserSight->setWhatsThis(tr("Assisted aiming with laser sight")); |
92 glGMLayout->addWidget(TBW_laserSight,1,0,1,1); |
98 glGMLayout->addWidget(TBW_laserSight,1,0,1,1); |
93 |
99 |
94 TBW_invulnerable = new ToggleButtonWidget(gbGameModes, ":/res/btnInvulnerable@2x.png"); |
100 TBW_invulnerable = new ToggleButtonWidget(gbGameModes, ":/res/btnInvulnerable@2x.png"); |
95 TBW_invulnerable->setToolTip("<b>" + ToggleButtonWidget::tr("Invulnerable") + "</b>:<br />" + tr("All hogs have a personal forcefield")); |
101 TBW_invulnerable->setToolTip("<b>" + ToggleButtonWidget::tr("Invulnerable") + "</b>"); |
|
102 TBW_invulnerable->setWhatsThis(tr("All hogs have a personal forcefield")); |
96 glGMLayout->addWidget(TBW_invulnerable,1,1,1,1); |
103 glGMLayout->addWidget(TBW_invulnerable,1,1,1,1); |
97 |
104 |
98 TBW_resethealth = new ToggleButtonWidget(gbGameModes, ":/res/btnResetHealth@2x.png"); |
105 TBW_resethealth = new ToggleButtonWidget(gbGameModes, ":/res/btnResetHealth@2x.png"); |
99 TBW_resethealth->setToolTip("<b>" + ToggleButtonWidget::tr("Reset Health") + "</b>:<br />" + tr("All (living) hedgehogs are fully restored at the end of turn")); |
106 TBW_resethealth->setToolTip("<b>" + ToggleButtonWidget::tr("Reset Health") + "</b>"); |
|
107 TBW_resethealth->setWhatsThis(tr("All (living) hedgehogs are fully restored at the end of turn")); |
100 glGMLayout->addWidget(TBW_resethealth,1,2,1,1); |
108 glGMLayout->addWidget(TBW_resethealth,1,2,1,1); |
101 |
109 |
102 TBW_vampiric = new ToggleButtonWidget(gbGameModes, ":/res/btnVampiric@2x.png"); |
110 TBW_vampiric = new ToggleButtonWidget(gbGameModes, ":/res/btnVampiric@2x.png"); |
103 TBW_vampiric->setToolTip("<b>" + ToggleButtonWidget::tr("Vampirism") + "</b>:<br />" + tr("Gain 80% of the damage you do back in health")); |
111 TBW_vampiric->setToolTip("<b>" + ToggleButtonWidget::tr("Vampirism") + "</b>"); |
|
112 TBW_vampiric->setWhatsThis(tr("Gain 80% of the damage you do back in health")); |
104 glGMLayout->addWidget(TBW_vampiric,1,3,1,1); |
113 glGMLayout->addWidget(TBW_vampiric,1,3,1,1); |
105 |
114 |
106 TBW_karma = new ToggleButtonWidget(gbGameModes, ":/res/btnKarma@2x.png"); |
115 TBW_karma = new ToggleButtonWidget(gbGameModes, ":/res/btnKarma@2x.png"); |
107 TBW_karma->setToolTip("<b>" + ToggleButtonWidget::tr("Karma") + "</b>:<br />" + tr("Share your opponents pain, share their damage")); |
116 TBW_karma->setToolTip("<b>" + ToggleButtonWidget::tr("Karma") + "</b>"); |
|
117 TBW_karma->setWhatsThis(tr("Share your opponents pain, share their damage")); |
108 glGMLayout->addWidget(TBW_karma,1,4,1,1); |
118 glGMLayout->addWidget(TBW_karma,1,4,1,1); |
109 |
119 |
110 TBW_artillery = new ToggleButtonWidget(gbGameModes, ":/res/btnArtillery@2x.png"); |
120 TBW_artillery = new ToggleButtonWidget(gbGameModes, ":/res/btnArtillery@2x.png"); |
111 TBW_artillery->setToolTip("<b>" + ToggleButtonWidget::tr("Artillery") + "</b>:<br />" + tr("Your hogs are unable to move, put your artillery skills to the test")); |
121 TBW_artillery->setToolTip("<b>" + ToggleButtonWidget::tr("Artillery") + "</b>"); |
|
122 TBW_artillery->setWhatsThis(tr("Your hogs are unable to move, put your artillery skills to the test")); |
112 glGMLayout->addWidget(TBW_artillery,2,0,1,1); |
123 glGMLayout->addWidget(TBW_artillery,2,0,1,1); |
113 |
124 |
114 TBW_randomorder = new ToggleButtonWidget(gbGameModes, ":/res/btnRandomOrder@2x.png"); |
125 TBW_randomorder = new ToggleButtonWidget(gbGameModes, ":/res/btnRandomOrder@2x.png"); |
115 TBW_randomorder->setToolTip("<b>" + ToggleButtonWidget::tr("Random Order") + "</b>:<br />" + tr("Order of play is random instead of in room order.")); |
126 TBW_randomorder->setToolTip("<b>" + ToggleButtonWidget::tr("Random Order") + "</b>"); |
|
127 TBW_randomorder->setWhatsThis(tr("Order of play is random instead of in room order.")); |
116 glGMLayout->addWidget(TBW_randomorder,2,1,1,1); |
128 glGMLayout->addWidget(TBW_randomorder,2,1,1,1); |
117 |
129 |
118 TBW_king = new ToggleButtonWidget(gbGameModes, ":/res/btnKing@2x.png"); |
130 TBW_king = new ToggleButtonWidget(gbGameModes, ":/res/btnKing@2x.png"); |
119 TBW_king->setToolTip("<b>" + ToggleButtonWidget::tr("King") + "</b>:<br />" + tr("Play with a King. If he dies, your side dies.")); |
131 TBW_king->setToolTip("<b>" + ToggleButtonWidget::tr("King") + "</b>"); |
|
132 TBW_king->setWhatsThis(tr("Play with a King. If he dies, your side dies.")); |
120 glGMLayout->addWidget(TBW_king,2,2,1,1); |
133 glGMLayout->addWidget(TBW_king,2,2,1,1); |
121 |
134 |
122 TBW_placehog = new ToggleButtonWidget(gbGameModes, ":/res/btnPlaceHog@2x.png"); |
135 TBW_placehog = new ToggleButtonWidget(gbGameModes, ":/res/btnPlaceHog@2x.png"); |
123 TBW_placehog->setToolTip("<b>" + ToggleButtonWidget::tr("Place Hedgehogs") + "</b>:<br />" + tr("Take turns placing your hedgehogs before the start of play.")); |
136 TBW_placehog->setToolTip("<b>" + ToggleButtonWidget::tr("Place Hedgehogs") + "</b>"); |
|
137 TBW_placehog->setWhatsThis(tr("Take turns placing your hedgehogs before the start of play.")); |
124 glGMLayout->addWidget(TBW_placehog,2,3,1,1); |
138 glGMLayout->addWidget(TBW_placehog,2,3,1,1); |
125 |
139 |
126 TBW_sharedammo = new ToggleButtonWidget(gbGameModes, ":/res/btnSharedAmmo@2x.png"); |
140 TBW_sharedammo = new ToggleButtonWidget(gbGameModes, ":/res/btnSharedAmmo@2x.png"); |
127 TBW_sharedammo->setToolTip("<b>" + ToggleButtonWidget::tr("Clan Shares Ammo") + "</b>:<br />" + tr("Ammo is shared between all teams that share a colour.")); |
141 TBW_sharedammo->setToolTip("<b>" + ToggleButtonWidget::tr("Clan Shares Ammo") + "</b>"); |
|
142 TBW_sharedammo->setWhatsThis(tr("Ammo is shared between all teams that share a colour.")); |
128 glGMLayout->addWidget(TBW_sharedammo,2,4,1,1); |
143 glGMLayout->addWidget(TBW_sharedammo,2,4,1,1); |
129 |
144 |
130 TBW_disablegirders = new ToggleButtonWidget(gbGameModes, ":/res/btnDisableGirders@2x.png"); |
145 TBW_disablegirders = new ToggleButtonWidget(gbGameModes, ":/res/btnDisableGirders@2x.png"); |
131 TBW_disablegirders->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Girders") + "</b>:<br />" + tr("Disable girders when generating random maps.")); |
146 TBW_disablegirders->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Girders") + "</b>"); |
|
147 TBW_disablegirders->setWhatsThis(tr("Disable girders when generating random maps.")); |
132 glGMLayout->addWidget(TBW_disablegirders,3,0,1,1); |
148 glGMLayout->addWidget(TBW_disablegirders,3,0,1,1); |
133 |
149 |
134 TBW_disablelandobjects = new ToggleButtonWidget(gbGameModes, ":/res/btnDisableLandObjects@2x.png"); |
150 TBW_disablelandobjects = new ToggleButtonWidget(gbGameModes, ":/res/btnDisableLandObjects@2x.png"); |
135 TBW_disablelandobjects->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Land Objects") + "</b>:<br />" + tr("Disable land objects when generating random maps.")); |
151 TBW_disablelandobjects->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Land Objects") + "</b>"); |
|
152 TBW_disablelandobjects->setWhatsThis(tr("Disable land objects when generating random maps.")); |
136 glGMLayout->addWidget(TBW_disablelandobjects,3,1,1,1); |
153 glGMLayout->addWidget(TBW_disablelandobjects,3,1,1,1); |
137 |
154 |
138 TBW_aisurvival = new ToggleButtonWidget(gbGameModes, ":/res/btnAISurvival@2x.png"); |
155 TBW_aisurvival = new ToggleButtonWidget(gbGameModes, ":/res/btnAISurvival@2x.png"); |
139 TBW_aisurvival->setToolTip("<b>" + ToggleButtonWidget::tr("AI Survival Mode") + "</b>:<br />" + tr("AI respawns on death.")); |
156 TBW_aisurvival->setToolTip("<b>" + ToggleButtonWidget::tr("AI Survival Mode") + "</b>"); |
|
157 TBW_aisurvival->setWhatsThis(tr("AI respawns on death.")); |
140 glGMLayout->addWidget(TBW_aisurvival,3,2,1,1); |
158 glGMLayout->addWidget(TBW_aisurvival,3,2,1,1); |
141 |
159 |
142 TBW_infattack = new ToggleButtonWidget(gbGameModes, ":/res/btnInfAttack@2x.png"); |
160 TBW_infattack = new ToggleButtonWidget(gbGameModes, ":/res/btnInfAttack@2x.png"); |
143 TBW_infattack->setToolTip("<b>" + ToggleButtonWidget::tr("Unlimited Attacks") + "</b>:<br />" + tr("Attacking does not end your turn.")); |
161 TBW_infattack->setToolTip("<b>" + ToggleButtonWidget::tr("Unlimited Attacks") + "</b>"); |
|
162 TBW_infattack->setWhatsThis(tr("Attacking does not end your turn.")); |
144 glGMLayout->addWidget(TBW_infattack,3,3,1,1); |
163 glGMLayout->addWidget(TBW_infattack,3,3,1,1); |
145 |
164 |
146 TBW_resetweps = new ToggleButtonWidget(gbGameModes, ":/res/btnResetWeps@2x.png"); |
165 TBW_resetweps = new ToggleButtonWidget(gbGameModes, ":/res/btnResetWeps@2x.png"); |
147 TBW_resetweps->setToolTip("<b>" + ToggleButtonWidget::tr("Reset Weapons") + "</b>:<br />" + tr("Weapons are reset to starting values each turn.")); |
166 TBW_resetweps->setToolTip("<b>" + ToggleButtonWidget::tr("Reset Weapons") + "</b>"); |
|
167 TBW_resetweps->setWhatsThis(tr("Weapons are reset to starting values each turn.")); |
148 glGMLayout->addWidget(TBW_resetweps,3,4,1,1); |
168 glGMLayout->addWidget(TBW_resetweps,3,4,1,1); |
149 |
169 |
150 TBW_perhogammo = new ToggleButtonWidget(gbGameModes, ":/res/btnPerHogAmmo@2x.png"); |
170 TBW_perhogammo = new ToggleButtonWidget(gbGameModes, ":/res/btnPerHogAmmo@2x.png"); |
151 TBW_perhogammo->setToolTip("<b>" + ToggleButtonWidget::tr("Per Hedgehog Ammo") + "</b>:<br />" + tr("Each hedgehog has its own ammo. It does not share with the team.")); |
171 TBW_perhogammo->setToolTip("<b>" + ToggleButtonWidget::tr("Per Hedgehog Ammo") + "</b>"); |
|
172 TBW_perhogammo->setWhatsThis(tr("Each hedgehog has its own ammo. It does not share with the team.")); |
152 glGMLayout->addWidget(TBW_perhogammo,4,0,1,1); |
173 glGMLayout->addWidget(TBW_perhogammo,4,0,1,1); |
153 |
174 |
154 TBW_nowind = new ToggleButtonWidget(gbGameModes, ":/res/btnNoWind@2x.png"); |
175 TBW_nowind = new ToggleButtonWidget(gbGameModes, ":/res/btnNoWind@2x.png"); |
155 TBW_nowind->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Wind") + "</b>:<br />" + tr("You will not have to worry about wind anymore.")); |
176 TBW_nowind->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Wind") + "</b>"); |
|
177 TBW_nowind->setWhatsThis(tr("You will not have to worry about wind anymore.")); |
156 glGMLayout->addWidget(TBW_nowind,4,1,1,1); |
178 glGMLayout->addWidget(TBW_nowind,4,1,1,1); |
157 |
179 |
158 TBW_morewind = new ToggleButtonWidget(gbGameModes, ":/res/btnMoreWind@2x.png"); |
180 TBW_morewind = new ToggleButtonWidget(gbGameModes, ":/res/btnMoreWind@2x.png"); |
159 TBW_morewind->setToolTip("<b>" + ToggleButtonWidget::tr("More Wind") + "</b>:<br />" + tr("Wind will affect almost everything.")); |
181 TBW_morewind->setToolTip("<b>" + ToggleButtonWidget::tr("More Wind") + "</b>"); |
|
182 TBW_morewind->setWhatsThis(tr("Wind will affect almost everything.")); |
160 glGMLayout->addWidget(TBW_morewind,4,2,1,1); |
183 glGMLayout->addWidget(TBW_morewind,4,2,1,1); |
161 |
184 |
162 TBW_tagteam = new ToggleButtonWidget(gbGameModes, ":/res/btnTagTeam@2x.png"); |
185 TBW_tagteam = new ToggleButtonWidget(gbGameModes, ":/res/btnTagTeam@2x.png"); |
163 TBW_tagteam->setToolTip("<b>" + ToggleButtonWidget::tr("Tag Team") + "</b>:<br />" + tr("Teams in each clan take successive turns sharing their turn time.")); |
186 TBW_tagteam->setToolTip("<b>" + ToggleButtonWidget::tr("Tag Team") + "</b>"); |
|
187 TBW_tagteam->setWhatsThis(tr("Teams in each clan take successive turns sharing their turn time.")); |
164 glGMLayout->addWidget(TBW_tagteam,4,3,1,1); |
188 glGMLayout->addWidget(TBW_tagteam,4,3,1,1); |
165 |
189 |
166 TBW_bottomborder = new ToggleButtonWidget(gbGameModes, ":/res/btnBottomBorder@2x.png"); |
190 TBW_bottomborder = new ToggleButtonWidget(gbGameModes, ":/res/btnBottomBorder@2x.png"); |
167 TBW_bottomborder->setToolTip("<b>" + ToggleButtonWidget::tr("Add Bottom Border") + "</b>:<br />" + tr("Add an indestructible border along the bottom")); |
191 TBW_bottomborder->setToolTip("<b>" + ToggleButtonWidget::tr("Add Bottom Border") + "</b>"); |
|
192 TBW_bottomborder->setWhatsThis(tr("Add an indestructible border along the bottom")); |
168 glGMLayout->addWidget(TBW_bottomborder,4,4,1,1); |
193 glGMLayout->addWidget(TBW_bottomborder,4,4,1,1); |
169 |
194 |
170 |
195 |
171 // Right |
196 // Right |
172 QLabel * l; |
197 QLabel * l; |