author | tiyuri@gmail.com |
Mon, 06 Sep 2010 23:14:12 +0100 | |
changeset 3838 | 56e1cb3de456 |
parent 2596 | 41b46f83d088 |
permissions | -rw-r--r-- |
2572 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<ui version="4.0"> |
|
3 |
<class>editor</class> |
|
4 |
<widget class="QMainWindow" name="editor"> |
|
5 |
<property name="geometry"> |
|
6 |
<rect> |
|
7 |
<x>0</x> |
|
8 |
<y>0</y> |
|
2589 | 9 |
<width>419</width> |
10 |
<height>476</height> |
|
2572 | 11 |
</rect> |
12 |
</property> |
|
13 |
<property name="windowTitle"> |
|
14 |
<string>editor</string> |
|
15 |
</property> |
|
16 |
<widget class="QWidget" name="centralWidget"> |
|
17 |
<layout class="QGridLayout" name="gridLayout"> |
|
18 |
<item row="0" column="0"> |
|
19 |
<widget class="QTabWidget" name="tabWidget"> |
|
20 |
<property name="currentIndex"> |
|
2589 | 21 |
<number>2</number> |
2572 | 22 |
</property> |
2583 | 23 |
<widget class="QWidget" name="tab_4"> |
24 |
<attribute name="title"> |
|
25 |
<string>Mission</string> |
|
26 |
</attribute> |
|
27 |
<layout class="QGridLayout" name="gridLayout_3"> |
|
28 |
<item row="0" column="0"> |
|
29 |
<widget class="QLabel" name="label_4"> |
|
30 |
<property name="text"> |
|
31 |
<string>Name</string> |
|
32 |
</property> |
|
33 |
</widget> |
|
34 |
</item> |
|
35 |
<item row="0" column="1"> |
|
2584
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
36 |
<widget class="QLineEdit" name="leName"/> |
2583 | 37 |
</item> |
38 |
<item row="1" column="0"> |
|
39 |
<widget class="QLabel" name="label_5"> |
|
40 |
<property name="text"> |
|
41 |
<string>Description</string> |
|
42 |
</property> |
|
43 |
</widget> |
|
44 |
</item> |
|
45 |
<item row="1" column="1"> |
|
2584
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
46 |
<widget class="QTextEdit" name="teDescription"/> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
47 |
</item> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
48 |
<item row="2" column="0"> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
49 |
<widget class="QLabel" name="label_6"> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
50 |
<property name="text"> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
51 |
<string>Map</string> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
52 |
</property> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
53 |
</widget> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
54 |
</item> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
55 |
<item row="3" column="0"> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
56 |
<widget class="QLabel" name="label_7"> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
57 |
<property name="text"> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
58 |
<string>Theme</string> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
59 |
</property> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
60 |
</widget> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
61 |
</item> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
62 |
<item row="2" column="1"> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
63 |
<widget class="QLineEdit" name="leMap"/> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
64 |
</item> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
65 |
<item row="3" column="1"> |
cc049fbb65ef
Change mission file format to allow more flexible config
unc0rr
parents:
2583
diff
changeset
|
66 |
<widget class="QLineEdit" name="leTheme"/> |
2583 | 67 |
</item> |
68 |
</layout> |
|
69 |
</widget> |
|
2572 | 70 |
<widget class="QWidget" name="tab"> |
71 |
<attribute name="title"> |
|
72 |
<string>Options</string> |
|
73 |
</attribute> |
|
74 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
|
75 |
<item> |
|
76 |
<layout class="QVBoxLayout" name="verticalLayout"> |
|
77 |
<item> |
|
78 |
<widget class="QCheckBox" name="cbInvulnerable"> |
|
79 |
<property name="text"> |
|
80 |
<string>Invulnerable</string> |
|
81 |
</property> |
|
82 |
</widget> |
|
83 |
</item> |
|
84 |
<item> |
|
85 |
<widget class="QCheckBox" name="cbArtillery"> |
|
86 |
<property name="text"> |
|
87 |
<string>Artillery</string> |
|
88 |
</property> |
|
89 |
</widget> |
|
90 |
</item> |
|
91 |
<item> |
|
92 |
<widget class="QCheckBox" name="cbSolidLand"> |
|
93 |
<property name="text"> |
|
94 |
<string>SolidLand</string> |
|
95 |
</property> |
|
96 |
</widget> |
|
97 |
</item> |
|
98 |
<item> |
|
99 |
<widget class="QCheckBox" name="cbVampiric"> |
|
100 |
<property name="text"> |
|
101 |
<string>Vampiric</string> |
|
102 |
</property> |
|
103 |
</widget> |
|
104 |
</item> |
|
105 |
<item> |
|
106 |
<widget class="QCheckBox" name="cbOneClanMode"> |
|
107 |
<property name="text"> |
|
108 |
<string>OneClanMode</string> |
|
109 |
</property> |
|
110 |
<property name="checked"> |
|
111 |
<bool>true</bool> |
|
112 |
</property> |
|
113 |
</widget> |
|
114 |
</item> |
|
115 |
<item> |
|
116 |
<widget class="QCheckBox" name="cbKarma"> |
|
117 |
<property name="text"> |
|
118 |
<string>Karma</string> |
|
119 |
</property> |
|
120 |
</widget> |
|
121 |
</item> |
|
122 |
<item> |
|
123 |
<widget class="QCheckBox" name="cbLaserSight"> |
|
124 |
<property name="text"> |
|
125 |
<string>LaserSight</string> |
|
126 |
</property> |
|
127 |
</widget> |
|
128 |
</item> |
|
129 |
<item> |
|
130 |
<widget class="QCheckBox" name="cbBorder"> |
|
131 |
<property name="text"> |
|
132 |
<string>Border</string> |
|
133 |
</property> |
|
134 |
</widget> |
|
135 |
</item> |
|
136 |
<item> |
|
137 |
<widget class="QCheckBox" name="cbLowGravity"> |
|
138 |
<property name="text"> |
|
139 |
<string>LowGravity</string> |
|
140 |
</property> |
|
141 |
</widget> |
|
142 |
</item> |
|
143 |
<item> |
|
144 |
<widget class="QCheckBox" name="cbMines"> |
|
145 |
<property name="text"> |
|
146 |
<string>Mines</string> |
|
147 |
</property> |
|
148 |
</widget> |
|
149 |
</item> |
|
150 |
<item> |
|
151 |
<widget class="QCheckBox" name="cbDivideTeams"> |
|
152 |
<property name="text"> |
|
153 |
<string>DivideTeams</string> |
|
154 |
</property> |
|
155 |
</widget> |
|
156 |
</item> |
|
157 |
<item> |
|
158 |
<widget class="QCheckBox" name="cbMultiWeapon"> |
|
159 |
<property name="text"> |
|
160 |
<string>MultiWeapon</string> |
|
161 |
</property> |
|
162 |
<property name="checked"> |
|
163 |
<bool>true</bool> |
|
164 |
</property> |
|
165 |
</widget> |
|
166 |
</item> |
|
167 |
<item> |
|
168 |
<widget class="QCheckBox" name="cbForts"> |
|
169 |
<property name="text"> |
|
170 |
<string>Forts</string> |
|
171 |
</property> |
|
172 |
</widget> |
|
173 |
</item> |
|
174 |
<item> |
|
175 |
<spacer name="verticalSpacer"> |
|
176 |
<property name="orientation"> |
|
177 |
<enum>Qt::Vertical</enum> |
|
178 |
</property> |
|
179 |
<property name="sizeHint" stdset="0"> |
|
180 |
<size> |
|
181 |
<width>20</width> |
|
182 |
<height>40</height> |
|
183 |
</size> |
|
184 |
</property> |
|
185 |
</spacer> |
|
186 |
</item> |
|
187 |
</layout> |
|
188 |
</item> |
|
189 |
<item> |
|
190 |
<layout class="QGridLayout" name="gridLayout_2"> |
|
191 |
<item row="0" column="0"> |
|
192 |
<widget class="QLabel" name="labelSeed"> |
|
193 |
<property name="text"> |
|
194 |
<string>Seed</string> |
|
195 |
</property> |
|
196 |
</widget> |
|
197 |
</item> |
|
198 |
<item row="0" column="1"> |
|
199 |
<widget class="QLineEdit" name="leSeed"> |
|
200 |
<property name="text"> |
|
201 |
<string>foobar</string> |
|
202 |
</property> |
|
203 |
</widget> |
|
204 |
</item> |
|
205 |
<item row="1" column="0"> |
|
206 |
<widget class="QLabel" name="label"> |
|
207 |
<property name="text"> |
|
208 |
<string>Damage Modifier</string> |
|
209 |
</property> |
|
210 |
</widget> |
|
211 |
</item> |
|
212 |
<item row="2" column="0"> |
|
213 |
<widget class="QLabel" name="label_2"> |
|
214 |
<property name="text"> |
|
215 |
<string>Turn Time</string> |
|
216 |
</property> |
|
217 |
</widget> |
|
218 |
</item> |
|
219 |
<item row="3" column="0"> |
|
220 |
<widget class="QLabel" name="label_3"> |
|
221 |
<property name="text"> |
|
222 |
<string>Crate Drops</string> |
|
223 |
</property> |
|
224 |
</widget> |
|
225 |
</item> |
|
226 |
<item row="4" column="0"> |
|
227 |
<spacer name="verticalSpacer_2"> |
|
228 |
<property name="orientation"> |
|
229 |
<enum>Qt::Vertical</enum> |
|
230 |
</property> |
|
231 |
<property name="sizeHint" stdset="0"> |
|
232 |
<size> |
|
233 |
<width>20</width> |
|
234 |
<height>40</height> |
|
235 |
</size> |
|
236 |
</property> |
|
237 |
</spacer> |
|
238 |
</item> |
|
239 |
<item row="1" column="1"> |
|
240 |
<widget class="QSpinBox" name="sbDamageModifier"> |
|
241 |
<property name="minimum"> |
|
242 |
<number>10</number> |
|
243 |
</property> |
|
244 |
<property name="maximum"> |
|
245 |
<number>300</number> |
|
246 |
</property> |
|
247 |
<property name="singleStep"> |
|
248 |
<number>15</number> |
|
249 |
</property> |
|
250 |
<property name="value"> |
|
251 |
<number>100</number> |
|
252 |
</property> |
|
253 |
</widget> |
|
254 |
</item> |
|
255 |
<item row="2" column="1"> |
|
256 |
<widget class="QSpinBox" name="sbTurnTime"> |
|
257 |
<property name="minimum"> |
|
258 |
<number>1000</number> |
|
259 |
</property> |
|
260 |
<property name="maximum"> |
|
261 |
<number>100000</number> |
|
262 |
</property> |
|
263 |
<property name="singleStep"> |
|
264 |
<number>5000</number> |
|
265 |
</property> |
|
266 |
<property name="value"> |
|
267 |
<number>45000</number> |
|
268 |
</property> |
|
269 |
</widget> |
|
270 |
</item> |
|
271 |
<item row="3" column="1"> |
|
272 |
<widget class="QSpinBox" name="sbCrateDrops"> |
|
273 |
<property name="maximum"> |
|
274 |
<number>3</number> |
|
275 |
</property> |
|
276 |
</widget> |
|
277 |
</item> |
|
278 |
</layout> |
|
279 |
</item> |
|
280 |
</layout> |
|
281 |
</widget> |
|
2583 | 282 |
<widget class="QWidget" name="tab_3"> |
283 |
<attribute name="title"> |
|
284 |
<string>Teams</string> |
|
285 |
</attribute> |
|
2589 | 286 |
<layout class="QGridLayout" name="gridLayout_4"> |
287 |
<item row="0" column="0"> |
|
2594 | 288 |
<widget class="QPushButton" name="pbAddTeam"> |
289 |
<property name="text"> |
|
290 |
<string>Add Team</string> |
|
291 |
</property> |
|
292 |
</widget> |
|
293 |
</item> |
|
294 |
<item row="0" column="1"> |
|
295 |
<spacer name="horizontalSpacer"> |
|
296 |
<property name="orientation"> |
|
297 |
<enum>Qt::Horizontal</enum> |
|
298 |
</property> |
|
299 |
<property name="sizeHint" stdset="0"> |
|
300 |
<size> |
|
301 |
<width>40</width> |
|
302 |
<height>20</height> |
|
303 |
</size> |
|
304 |
</property> |
|
305 |
</spacer> |
|
306 |
</item> |
|
307 |
<item row="1" column="0" colspan="2"> |
|
308 |
<widget class="QTabWidget" name="twTeams"> |
|
2596
41b46f83d088
Compete loading teams/hedgehogs part from mission config
unc0rr
parents:
2594
diff
changeset
|
309 |
<property name="enabled"> |
41b46f83d088
Compete loading teams/hedgehogs part from mission config
unc0rr
parents:
2594
diff
changeset
|
310 |
<bool>true</bool> |
41b46f83d088
Compete loading teams/hedgehogs part from mission config
unc0rr
parents:
2594
diff
changeset
|
311 |
</property> |
2594 | 312 |
<property name="currentIndex"> |
313 |
<number>0</number> |
|
314 |
</property> |
|
315 |
<widget class="TeamEdit" name="tab_5"> |
|
316 |
<attribute name="title"> |
|
317 |
<string>Team 1</string> |
|
318 |
</attribute> |
|
319 |
</widget> |
|
320 |
<widget class="TeamEdit" name="tab_6"> |
|
321 |
<attribute name="title"> |
|
322 |
<string>Team 2</string> |
|
323 |
</attribute> |
|
324 |
</widget> |
|
325 |
<widget class="TeamEdit" name="tab_7"> |
|
326 |
<attribute name="title"> |
|
327 |
<string>Team 3</string> |
|
328 |
</attribute> |
|
329 |
</widget> |
|
330 |
<widget class="TeamEdit" name="tab_8"> |
|
331 |
<attribute name="title"> |
|
332 |
<string>Team 4</string> |
|
333 |
</attribute> |
|
334 |
</widget> |
|
335 |
<widget class="TeamEdit" name="tab_9"> |
|
336 |
<attribute name="title"> |
|
337 |
<string>Team 5</string> |
|
338 |
</attribute> |
|
339 |
</widget> |
|
340 |
<widget class="TeamEdit" name="tab_10"> |
|
341 |
<attribute name="title"> |
|
342 |
<string>Team 6</string> |
|
343 |
</attribute> |
|
344 |
</widget> |
|
345 |
</widget> |
|
2589 | 346 |
</item> |
347 |
</layout> |
|
2583 | 348 |
</widget> |
2572 | 349 |
<widget class="QWidget" name="tab_2"> |
350 |
<attribute name="title"> |
|
351 |
<string>Triggers</string> |
|
352 |
</attribute> |
|
353 |
</widget> |
|
354 |
</widget> |
|
355 |
</item> |
|
356 |
</layout> |
|
357 |
</widget> |
|
358 |
<widget class="QMenuBar" name="menuBar"> |
|
359 |
<property name="geometry"> |
|
360 |
<rect> |
|
361 |
<x>0</x> |
|
362 |
<y>0</y> |
|
2589 | 363 |
<width>419</width> |
2572 | 364 |
<height>28</height> |
365 |
</rect> |
|
366 |
</property> |
|
367 |
<widget class="QMenu" name="menuFile"> |
|
368 |
<property name="title"> |
|
369 |
<string>&File</string> |
|
370 |
</property> |
|
2583 | 371 |
<addaction name="actionLoad"/> |
372 |
<addaction name="actionSave"/> |
|
2572 | 373 |
<addaction name="separator"/> |
2583 | 374 |
<addaction name="actionQuit"/> |
2572 | 375 |
</widget> |
376 |
<addaction name="menuFile"/> |
|
377 |
</widget> |
|
378 |
<widget class="QStatusBar" name="statusBar"/> |
|
2583 | 379 |
<action name="actionLoad"> |
2572 | 380 |
<property name="text"> |
381 |
<string>&Load...</string> |
|
382 |
</property> |
|
383 |
</action> |
|
2583 | 384 |
<action name="actionSave"> |
2572 | 385 |
<property name="text"> |
386 |
<string>&Save</string> |
|
387 |
</property> |
|
388 |
</action> |
|
2583 | 389 |
<action name="actionQuit"> |
2572 | 390 |
<property name="text"> |
391 |
<string>&Quit</string> |
|
392 |
</property> |
|
393 |
</action> |
|
394 |
</widget> |
|
395 |
<layoutdefault spacing="6" margin="11"/> |
|
2589 | 396 |
<customwidgets> |
397 |
<customwidget> |
|
398 |
<class>TeamEdit</class> |
|
399 |
<extends>QWidget</extends> |
|
400 |
<header>teamedit.h</header> |
|
401 |
<container>1</container> |
|
402 |
</customwidget> |
|
403 |
</customwidgets> |
|
2572 | 404 |
<resources/> |
405 |
<connections/> |
|
406 |
</ui> |