equal
deleted
inserted
replaced
64 QString getCurrentTheme() const; |
64 QString getCurrentTheme() const; |
65 quint32 getInitHealth() const; |
65 quint32 getInitHealth() const; |
66 quint32 getTurnTime() const; |
66 quint32 getTurnTime() const; |
67 quint32 getSuddenDeathTurns() const; |
67 quint32 getSuddenDeathTurns() const; |
68 quint32 getCaseProbability() const; |
68 quint32 getCaseProbability() const; |
|
69 quint32 getTemplateFilter() const; |
69 QStringList getFullConfig() const; |
70 QStringList getFullConfig() const; |
70 |
71 |
71 QComboBox* WeaponsName; |
72 QComboBox* WeaponsName; |
72 |
73 |
73 public slots: |
74 public slots: |
81 void setFortsMode(bool value); |
82 void setFortsMode(bool value); |
82 void setTeamsDivide(bool value); |
83 void setTeamsDivide(bool value); |
83 void setSolid(bool value); |
84 void setSolid(bool value); |
84 void setBorder(bool value); |
85 void setBorder(bool value); |
85 void setNetAmmo(const QString& name, const QString& ammo); |
86 void setNetAmmo(const QString& name, const QString& ammo); |
|
87 void setTemplateFilter(int filter); |
86 |
88 |
87 signals: |
89 signals: |
88 void seedChanged(const QString & seed); |
90 void seedChanged(const QString & seed); |
89 void mapChanged(const QString & map); |
91 void mapChanged(const QString & map); |
90 void themeChanged(const QString & theme); |
92 void themeChanged(const QString & theme); |
95 void fortsModeChanged(bool value); |
97 void fortsModeChanged(bool value); |
96 void teamsDivideChanged(bool value); |
98 void teamsDivideChanged(bool value); |
97 void solidChanged(bool value); |
99 void solidChanged(bool value); |
98 void borderChanged(bool value); |
100 void borderChanged(bool value); |
99 void newWeaponScheme(const QString & name, const QString & ammo); |
101 void newWeaponScheme(const QString & name, const QString & ammo); |
|
102 void newTemplateFilter(int filter); |
100 |
103 |
101 private slots: |
104 private slots: |
102 void ammoChanged(int index); |
105 void ammoChanged(int index); |
|
106 void templateFilterChanged(int filter); |
103 |
107 |
104 private: |
108 private: |
105 QCheckBox * CB_mode_Forts; |
109 QCheckBox * CB_mode_Forts; |
106 QCheckBox * CB_teamsDivide; |
110 QCheckBox * CB_teamsDivide; |
107 QCheckBox * CB_solid; |
111 QCheckBox * CB_solid; |
109 QGridLayout mainLayout; |
113 QGridLayout mainLayout; |
110 HWMapContainer* pMapContainer; |
114 HWMapContainer* pMapContainer; |
111 QSpinBox * SB_TurnTime; |
115 QSpinBox * SB_TurnTime; |
112 QSpinBox * SB_InitHealth; |
116 QSpinBox * SB_InitHealth; |
113 QSpinBox * SB_SuddenDeath; |
117 QSpinBox * SB_SuddenDeath; |
|
118 QComboBox* CB_TemplateFilter; |
114 FreqSpinBox * SB_CaseProb; |
119 FreqSpinBox * SB_CaseProb; |
115 QLabel * L_TurnTime; |
120 QLabel * L_TurnTime; |
116 QLabel * L_InitHealth; |
121 QLabel * L_InitHealth; |
117 QLabel * L_SuddenDeath; |
122 QLabel * L_SuddenDeath; |
118 QLabel * L_CaseProb; |
123 QLabel * L_CaseProb; |