194 |
194 |
195 QPushButton *BtnBack; |
195 QPushButton *BtnBack; |
196 GameCFGWidget *gameCFG; |
196 GameCFGWidget *gameCFG; |
197 TeamSelWidget *teamsSelect; |
197 TeamSelWidget *teamsSelect; |
198 QPushButton *BtnStartMPGame; |
198 QPushButton *BtnStartMPGame; |
|
199 |
|
200 signals: |
|
201 void SetupClicked(); |
199 }; |
202 }; |
200 |
203 |
201 class PageOptions : public AbstractPage |
204 class PageOptions : public AbstractPage |
202 { |
205 { |
203 Q_OBJECT |
206 Q_OBJECT |
204 |
207 |
205 public: |
208 public: |
206 PageOptions(QWidget* parent = 0); |
209 PageOptions(QWidget* parent = 0); |
207 |
210 |
208 QPushButton *WeaponsButt; |
211 QCheckBox *WeaponTooltip; |
|
212 QPushButton *WeaponNew; |
209 QPushButton *WeaponEdit; |
213 QPushButton *WeaponEdit; |
210 QPushButton *WeaponDelete; |
214 QPushButton *WeaponDelete; |
211 QComboBox *WeaponsName; |
215 QComboBox *WeaponsName; |
212 QCheckBox *WeaponTooltip; |
216 QPushButton *SchemeNew; |
|
217 QPushButton *SchemeEdit; |
|
218 QPushButton *SchemeDelete; |
|
219 QComboBox *SchemesName; |
|
220 |
213 QComboBox *CBLanguage; |
221 QComboBox *CBLanguage; |
214 |
222 |
215 QPushButton *BtnBack; |
223 QPushButton *BtnBack; |
216 IconedGroupBox *teamsBox; |
224 IconedGroupBox *teamsBox; |
217 QPushButton *BtnNewTeam; |
225 QPushButton *BtnNewTeam; |
453 |
464 |
454 QPushButton * BtnBack; |
465 QPushButton * BtnBack; |
455 QPushButton * BtnNew; |
466 QPushButton * BtnNew; |
456 QPushButton * BtnDelete; |
467 QPushButton * BtnDelete; |
457 QPushButton * BtnSave; |
468 QPushButton * BtnSave; |
|
469 QComboBox * selectScheme; |
458 |
470 |
459 void setModel(QAbstractItemModel * model); |
471 void setModel(QAbstractItemModel * model); |
|
472 |
|
473 public slots: |
|
474 void newRow(); |
|
475 void deleteRow(); |
460 |
476 |
461 private: |
477 private: |
462 QDataWidgetMapper * mapper; |
478 QDataWidgetMapper * mapper; |
463 ToggleButtonWidget * TBW_mode_Forts; |
479 ToggleButtonWidget * TBW_mode_Forts; |
464 ToggleButtonWidget * TBW_teamsDivide; |
480 ToggleButtonWidget * TBW_teamsDivide; |
497 QSpinBox * SB_Mines; |
513 QSpinBox * SB_Mines; |
498 QSpinBox * SB_MineDuds; |
514 QSpinBox * SB_MineDuds; |
499 QSpinBox * SB_Explosives; |
515 QSpinBox * SB_Explosives; |
500 QSpinBox * SB_RopeModifier; |
516 QSpinBox * SB_RopeModifier; |
501 QLineEdit * LE_name; |
517 QLineEdit * LE_name; |
502 QComboBox * selectScheme; |
|
503 |
518 |
504 QGroupBox * gbGameModes; |
519 QGroupBox * gbGameModes; |
505 QGroupBox * gbBasicSettings; |
520 QGroupBox * gbBasicSettings; |
506 |
521 |
507 private slots: |
522 private slots: |
508 void newRow(); |
|
509 void deleteRow(); |
|
510 void schemeSelected(int); |
523 void schemeSelected(int); |
|
524 |
511 }; |
525 }; |
512 |
526 |
513 class PageAdmin : public AbstractPage |
527 class PageAdmin : public AbstractPage |
514 { |
528 { |
515 Q_OBJECT |
529 Q_OBJECT |