comparison gtk-gui/gui.stetic @ 0:1bb28f84d567

Initial commit of WarFoundry code
author IBBoard <dev@ibboard.co.uk>
date Fri, 19 Dec 2008 15:57:51 +0000
parents
children 65279b85446f
comparison
equal deleted inserted replaced
-1:000000000000 0:1bb28f84d567
1 <?xml version="1.0" encoding="utf-8"?>
2 <stetic-interface>
3 <configuration>
4 <images-root-path>..</images-root-path>
5 <target-gtk-version>2.12.1</target-gtk-version>
6 </configuration>
7 <import>
8 <widget-library name="../bin/Debug/WarFoundryGTK.exe" internal="true" />
9 </import>
10 <widget class="Gtk.Window" id="IBBoard.WarFoundry.FrmMainWindow" design-size="832 659">
11 <action-group name="Default">
12 <action id="menuFile">
13 <property name="Type">Action</property>
14 <property name="Label" translatable="yes">File</property>
15 <property name="ShortLabel" translatable="yes">File</property>
16 </action>
17 <action id="miCreateArmy">
18 <property name="Type">Action</property>
19 <property name="Label" translatable="yes">Create army</property>
20 <property name="Sensitive">False</property>
21 <property name="ShortLabel" translatable="yes">Create army</property>
22 <signal name="Activated" handler="OnCreateArmyActivated" />
23 </action>
24 <action id="miOpenArmy">
25 <property name="Type">Action</property>
26 <property name="Label" translatable="yes">Open army</property>
27 <property name="Sensitive">False</property>
28 <property name="ShortLabel" translatable="yes">Open army</property>
29 <signal name="Activated" handler="OnOpenArmyActivated" />
30 </action>
31 <action id="miSaveArmy">
32 <property name="Type">Action</property>
33 <property name="Label" translatable="yes">Save army</property>
34 <property name="Sensitive">False</property>
35 <property name="ShortLabel" translatable="yes">Save army</property>
36 <signal name="Activated" handler="OnSaveArmyActivated" />
37 </action>
38 <action id="miSaveArmyAs">
39 <property name="Type">Action</property>
40 <property name="Label" translatable="yes">Save army as</property>
41 <property name="Sensitive">False</property>
42 <property name="ShortLabel" translatable="yes">Save army as</property>
43 <signal name="Activated" handler="OnSaveArmyAsActivated" />
44 </action>
45 <action id="miCloseArmy">
46 <property name="Type">Action</property>
47 <property name="Label" translatable="yes">Close army</property>
48 <property name="Sensitive">False</property>
49 <property name="ShortLabel" translatable="yes">Close army</property>
50 <signal name="Activated" handler="OnCloseArmyActivated" />
51 </action>
52 <action id="miChangeGameSystem">
53 <property name="Type">Action</property>
54 <property name="Label" translatable="yes">Change game system</property>
55 <property name="ShortLabel" translatable="yes">Change game system</property>
56 <signal name="Activated" handler="OnChangeGameSystemActivated" after="yes" />
57 </action>
58 <action id="miReloadFiles">
59 <property name="Type">Action</property>
60 <property name="Label" translatable="yes">Reload files</property>
61 <property name="Sensitive">False</property>
62 <property name="ShortLabel" translatable="yes">Reload files</property>
63 <signal name="Activated" handler="OnReloadFilesActivated" />
64 </action>
65 <action id="miExit">
66 <property name="Type">Action</property>
67 <property name="Label" translatable="yes">Exit</property>
68 <property name="ShortLabel" translatable="yes">Exit</property>
69 <signal name="Activated" handler="OnExitActivated" />
70 </action>
71 <action id="menuEdit">
72 <property name="Type">Action</property>
73 <property name="Label" translatable="yes">Edit</property>
74 <property name="ShortLabel" translatable="yes">Edit</property>
75 </action>
76 <action id="miUndo">
77 <property name="Type">Action</property>
78 <property name="Label" translatable="yes">Undo</property>
79 <property name="Sensitive">False</property>
80 <property name="ShortLabel" translatable="yes">Undo</property>
81 </action>
82 <action id="miRedo">
83 <property name="Type">Action</property>
84 <property name="Label" translatable="yes">Redo</property>
85 <property name="Sensitive">False</property>
86 <property name="ShortLabel" translatable="yes">Redo</property>
87 </action>
88 <action id="menuHelp">
89 <property name="Type">Action</property>
90 <property name="Label" translatable="yes">Help</property>
91 <property name="ShortLabel" translatable="yes">Help</property>
92 </action>
93 <action id="miAbout">
94 <property name="Type">Action</property>
95 <property name="Label" translatable="yes">About</property>
96 <property name="ShortLabel" translatable="yes">About</property>
97 </action>
98 <action id="miDebugInformation">
99 <property name="Type">Action</property>
100 <property name="Label" translatable="yes">Debug Information</property>
101 <property name="ShortLabel" translatable="yes">Debug Information</property>
102 </action>
103 <action id="newArmyButton">
104 <property name="Type">Action</property>
105 <property name="Label" translatable="yes" />
106 <property name="Sensitive">False</property>
107 <property name="StockId">gtk-new</property>
108 <signal name="Activated" handler="newTBButtonActivated" />
109 </action>
110 <action id="openArmyButton">
111 <property name="Type">Action</property>
112 <property name="Label" translatable="yes" />
113 <property name="Sensitive">False</property>
114 <property name="StockId">gtk-open</property>
115 <signal name="Activated" handler="openTBButtonActivated" />
116 </action>
117 <action id="saveArmyButton">
118 <property name="Type">Action</property>
119 <property name="Label" translatable="yes" />
120 <property name="Sensitive">False</property>
121 <property name="StockId">gtk-save</property>
122 <signal name="Activated" handler="saveTBButtonActivated" />
123 </action>
124 <action id="undoActionButton">
125 <property name="Type">Action</property>
126 <property name="Label" translatable="yes" />
127 <property name="Sensitive">False</property>
128 <property name="StockId">gtk-undo</property>
129 <signal name="Activated" handler="undoTBButtonActivated" />
130 </action>
131 <action id="redoActionButton">
132 <property name="Type">Action</property>
133 <property name="Label" translatable="yes" />
134 <property name="Sensitive">False</property>
135 <property name="StockId">gtk-redo</property>
136 <signal name="Activated" handler="redoTBButtonActivated" />
137 </action>
138 <action id="goDown">
139 <property name="Type">Action</property>
140 <property name="Label" translatable="yes" />
141 </action>
142 <action id="add">
143 <property name="Type">Action</property>
144 <property name="Label" translatable="yes" />
145 <property name="StockId">gtk-add</property>
146 </action>
147 </action-group>
148 <property name="MemberName" />
149 <property name="Title" translatable="yes">MainWindow</property>
150 <property name="Icon">resource:App.ico</property>
151 <child>
152 <widget class="Gtk.VBox" id="vbox1">
153 <property name="MemberName" />
154 <child>
155 <widget class="Gtk.MenuBar" id="menubar1">
156 <property name="MemberName" />
157 <node name="menubar1" type="Menubar">
158 <node type="Menu" action="menuFile">
159 <node type="Menuitem" action="miCreateArmy" />
160 <node type="Menuitem" action="miOpenArmy" />
161 <node type="Menuitem" action="miSaveArmy" />
162 <node type="Menuitem" action="miSaveArmyAs" />
163 <node type="Menuitem" action="miCloseArmy" />
164 <node type="Separator" />
165 <node type="Menuitem" action="miChangeGameSystem" />
166 <node type="Separator" />
167 <node type="Menuitem" action="miReloadFiles" />
168 <node type="Separator" />
169 <node type="Menuitem" action="miExit" />
170 </node>
171 <node type="Menu" action="menuEdit">
172 <node type="Menuitem" action="miUndo" />
173 <node type="Menuitem" action="miRedo" />
174 </node>
175 <node type="Menu" action="menuHelp">
176 <node type="Menuitem" action="miAbout" />
177 <node type="Menuitem" action="miDebugInformation" />
178 </node>
179 </node>
180 </widget>
181 <packing>
182 <property name="Position">0</property>
183 <property name="AutoSize">True</property>
184 <property name="Expand">False</property>
185 <property name="Fill">False</property>
186 </packing>
187 </child>
188 <child>
189 <widget class="Gtk.Toolbar" id="toolbar">
190 <property name="MemberName" />
191 <property name="HeightRequest">36</property>
192 <property name="ShowArrow">False</property>
193 <property name="ButtonStyle">Icons</property>
194 <node name="toolbar" type="Toolbar">
195 <node type="Toolitem" action="newArmyButton" />
196 <node type="Toolitem" action="openArmyButton" />
197 <node type="Toolitem" action="saveArmyButton" />
198 <node type="Separator" />
199 <node type="Toolitem" action="undoActionButton" />
200 <node type="Toolitem" action="redoActionButton" />
201 <node type="Separator" />
202 </node>
203 </widget>
204 <packing>
205 <property name="Position">1</property>
206 <property name="AutoSize">True</property>
207 <property name="Expand">False</property>
208 <property name="Fill">False</property>
209 </packing>
210 </child>
211 <child>
212 <widget class="Gtk.HPaned" id="hpaned2">
213 <property name="MemberName" />
214 <property name="CanFocus">True</property>
215 <property name="Position">178</property>
216 <child>
217 <widget class="Gtk.TreeView" id="treeUnits">
218 <property name="MemberName" />
219 <property name="CanFocus">True</property>
220 <property name="HeadersClickable">True</property>
221 <signal name="RowActivated" handler="ArmyRowActivated" />
222 </widget>
223 <packing>
224 <property name="Resize">False</property>
225 </packing>
226 </child>
227 <child>
228 <widget class="Gtk.Notebook" id="unitsNotebook">
229 <property name="MemberName" />
230 <property name="CanFocus">True</property>
231 <property name="CurrentPage">-1</property>
232 </widget>
233 </child>
234 </widget>
235 <packing>
236 <property name="Position">2</property>
237 <property name="AutoSize">True</property>
238 </packing>
239 </child>
240 <child>
241 <widget class="Gtk.Statusbar" id="statusbar1">
242 <property name="MemberName" />
243 <property name="Spacing">2</property>
244 <child>
245 <placeholder />
246 </child>
247 <child>
248 <placeholder />
249 </child>
250 </widget>
251 <packing>
252 <property name="Position">3</property>
253 <property name="AutoSize">True</property>
254 <property name="Expand">False</property>
255 <property name="Fill">False</property>
256 </packing>
257 </child>
258 </widget>
259 </child>
260 </widget>
261 <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.FrmNewArmy" design-size="400 322">
262 <property name="MemberName" />
263 <property name="Events">ButtonPressMask</property>
264 <property name="Title" translatable="yes">Create new army</property>
265 <property name="Icon">stock:gtk-new Menu</property>
266 <property name="WindowPosition">CenterOnParent</property>
267 <property name="SkipPagerHint">True</property>
268 <property name="SkipTaskbarHint">True</property>
269 <property name="Buttons">2</property>
270 <property name="HelpButton">False</property>
271 <property name="HasSeparator">False</property>
272 <child internal-child="VBox">
273 <widget class="Gtk.VBox" id="dialog_VBox">
274 <property name="MemberName" />
275 <property name="CanFocus">True</property>
276 <property name="Events">ButtonPressMask</property>
277 <property name="BorderWidth">2</property>
278 <child>
279 <widget class="Gtk.Table" id="table1">
280 <property name="MemberName" />
281 <property name="NRows">3</property>
282 <property name="NColumns">2</property>
283 <property name="RowSpacing">6</property>
284 <property name="ColumnSpacing">6</property>
285 <child>
286 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
287 <property name="MemberName" />
288 <property name="ShadowType">In</property>
289 <child>
290 <widget class="Gtk.TreeView" id="lstRaces">
291 <property name="MemberName" />
292 <property name="HeightRequest">150</property>
293 <property name="CanFocus">True</property>
294 <property name="ShowScrollbars">True</property>
295 <property name="HeadersVisible">False</property>
296 <property name="RulesHint">True</property>
297 <property name="HeadersClickable">True</property>
298 </widget>
299 </child>
300 </widget>
301 <packing>
302 <property name="LeftAttach">1</property>
303 <property name="RightAttach">2</property>
304 <property name="AutoSize">True</property>
305 <property name="YOptions">Fill</property>
306 <property name="XExpand">True</property>
307 <property name="XFill">True</property>
308 <property name="XShrink">False</property>
309 <property name="YExpand">False</property>
310 <property name="YFill">True</property>
311 <property name="YShrink">False</property>
312 </packing>
313 </child>
314 <child>
315 <widget class="Gtk.HBox" id="hbox2">
316 <property name="MemberName" />
317 <child>
318 <widget class="Gtk.SpinButton" id="sbPointsValue">
319 <property name="MemberName" />
320 <property name="WidthRequest">150</property>
321 <property name="CanFocus">True</property>
322 <property name="Upper">2000000000</property>
323 <property name="PageIncrement">1000</property>
324 <property name="StepIncrement">100</property>
325 <property name="ClimbRate">100</property>
326 <property name="Numeric">True</property>
327 <property name="Value">1000</property>
328 <signal name="ChangeValue" handler="OnSpinChangeValue" />
329 <signal name="ValueChanged" handler="OnSpinValueChanged" />
330 <signal name="Changed" handler="OnSpinValueChanged" />
331 </widget>
332 <packing>
333 <property name="Position">0</property>
334 <property name="AutoSize">True</property>
335 <property name="Expand">False</property>
336 <property name="Fill">False</property>
337 </packing>
338 </child>
339 <child>
340 <placeholder />
341 </child>
342 </widget>
343 <packing>
344 <property name="TopAttach">2</property>
345 <property name="BottomAttach">3</property>
346 <property name="LeftAttach">1</property>
347 <property name="RightAttach">2</property>
348 <property name="AutoSize">True</property>
349 <property name="YOptions">Fill</property>
350 <property name="XExpand">True</property>
351 <property name="XFill">True</property>
352 <property name="XShrink">False</property>
353 <property name="YExpand">False</property>
354 <property name="YFill">True</property>
355 <property name="YShrink">False</property>
356 </packing>
357 </child>
358 <child>
359 <widget class="Gtk.Label" id="label1">
360 <property name="MemberName" />
361 <property name="LabelProp" translatable="yes">Race</property>
362 </widget>
363 <packing>
364 <property name="AutoSize">True</property>
365 <property name="XOptions">Fill</property>
366 <property name="YOptions">Fill</property>
367 <property name="XExpand">False</property>
368 <property name="XFill">True</property>
369 <property name="XShrink">False</property>
370 <property name="YExpand">False</property>
371 <property name="YFill">True</property>
372 <property name="YShrink">False</property>
373 </packing>
374 </child>
375 <child>
376 <widget class="Gtk.Label" id="label2">
377 <property name="MemberName" />
378 <property name="LabelProp" translatable="yes">Army name</property>
379 </widget>
380 <packing>
381 <property name="TopAttach">1</property>
382 <property name="BottomAttach">2</property>
383 <property name="AutoSize">True</property>
384 <property name="XOptions">Fill</property>
385 <property name="YOptions">Fill</property>
386 <property name="XExpand">False</property>
387 <property name="XFill">True</property>
388 <property name="XShrink">False</property>
389 <property name="YExpand">False</property>
390 <property name="YFill">True</property>
391 <property name="YShrink">False</property>
392 </packing>
393 </child>
394 <child>
395 <widget class="Gtk.Label" id="label3">
396 <property name="MemberName" />
397 <property name="LabelProp" translatable="yes">Points value</property>
398 </widget>
399 <packing>
400 <property name="TopAttach">2</property>
401 <property name="BottomAttach">3</property>
402 <property name="AutoSize">True</property>
403 <property name="XOptions">Fill</property>
404 <property name="YOptions">Fill</property>
405 <property name="XExpand">False</property>
406 <property name="XFill">True</property>
407 <property name="XShrink">False</property>
408 <property name="YExpand">False</property>
409 <property name="YFill">True</property>
410 <property name="YShrink">False</property>
411 </packing>
412 </child>
413 <child>
414 <widget class="Gtk.Entry" id="txtArmyName">
415 <property name="MemberName" />
416 <property name="CanFocus">True</property>
417 <property name="IsEditable">True</property>
418 <property name="InvisibleChar">•</property>
419 <signal name="Changed" handler="OnTextChanged" />
420 </widget>
421 <packing>
422 <property name="TopAttach">1</property>
423 <property name="BottomAttach">2</property>
424 <property name="LeftAttach">1</property>
425 <property name="RightAttach">2</property>
426 <property name="AutoSize">True</property>
427 <property name="YOptions">Fill</property>
428 <property name="XExpand">True</property>
429 <property name="XFill">True</property>
430 <property name="XShrink">False</property>
431 <property name="YExpand">False</property>
432 <property name="YFill">True</property>
433 <property name="YShrink">False</property>
434 </packing>
435 </child>
436 </widget>
437 <packing>
438 <property name="Position">0</property>
439 <property name="AutoSize">True</property>
440 <property name="Expand">False</property>
441 <property name="Fill">False</property>
442 <property name="Padding">6</property>
443 </packing>
444 </child>
445 </widget>
446 </child>
447 <child internal-child="ActionArea">
448 <widget class="Gtk.HButtonBox" id="WarFoundrySharp.FrmNewArmy_ActionArea">
449 <property name="MemberName" />
450 <property name="CanFocus">True</property>
451 <property name="Events">ButtonPressMask</property>
452 <property name="Spacing">6</property>
453 <property name="BorderWidth">5</property>
454 <property name="Size">2</property>
455 <property name="LayoutStyle">End</property>
456 <child>
457 <widget class="Gtk.Button" id="bttnCancel">
458 <property name="MemberName" />
459 <property name="CanFocus">True</property>
460 <property name="UseStock">True</property>
461 <property name="Type">StockItem</property>
462 <property name="StockId">gtk-cancel</property>
463 <property name="ResponseId">-6</property>
464 <signal name="Clicked" handler="OnCancelClicked" />
465 <property name="label">gtk-cancel</property>
466 </widget>
467 <packing>
468 <property name="Expand">False</property>
469 <property name="Fill">False</property>
470 </packing>
471 </child>
472 <child>
473 <widget class="Gtk.Button" id="bttnCreate">
474 <property name="MemberName" />
475 <property name="Sensitive">False</property>
476 <property name="CanDefault">True</property>
477 <property name="CanFocus">True</property>
478 <property name="Type">TextAndIcon</property>
479 <property name="Icon">stock:gtk-ok Menu</property>
480 <property name="Label" translatable="yes">C_reate</property>
481 <property name="UseUnderline">True</property>
482 <property name="ResponseId">-5</property>
483 <signal name="Clicked" handler="OnCreateClicked" />
484 </widget>
485 <packing>
486 <property name="Position">1</property>
487 <property name="Expand">False</property>
488 <property name="Fill">False</property>
489 </packing>
490 </child>
491 </widget>
492 </child>
493 </widget>
494 <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.FrmChangeGameSystem" design-size="527 257">
495 <property name="MemberName" />
496 <property name="Title" translatable="yes">Change Game System</property>
497 <property name="Icon">resource:App.ico</property>
498 <property name="TypeHint">Dialog</property>
499 <property name="WindowPosition">CenterOnParent</property>
500 <property name="Modal">True</property>
501 <property name="Resizable">False</property>
502 <property name="AllowGrow">False</property>
503 <property name="DefaultWidth">400</property>
504 <property name="DefaultHeight">300</property>
505 <property name="SkipPagerHint">True</property>
506 <property name="SkipTaskbarHint">True</property>
507 <property name="Buttons">2</property>
508 <property name="HelpButton">False</property>
509 <property name="HasSeparator">False</property>
510 <child internal-child="VBox">
511 <widget class="Gtk.VBox" id="dialog1_VBox">
512 <property name="MemberName" />
513 <property name="Spacing">6</property>
514 <property name="BorderWidth">2</property>
515 <child>
516 <widget class="Gtk.HBox" id="hbox1">
517 <property name="MemberName" />
518 <property name="Spacing">6</property>
519 <child>
520 <widget class="Gtk.Label" id="lblGameSystem">
521 <property name="MemberName" />
522 <property name="LabelProp" translatable="yes">Game System</property>
523 </widget>
524 <packing>
525 <property name="Position">0</property>
526 <property name="AutoSize">False</property>
527 <property name="Expand">False</property>
528 <property name="Fill">False</property>
529 </packing>
530 </child>
531 <child>
532 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
533 <property name="MemberName" />
534 <property name="ShadowType">In</property>
535 <child>
536 <widget class="Gtk.TreeView" id="lstGameSystems">
537 <property name="MemberName" />
538 <property name="WidthRequest">250</property>
539 <property name="HeightRequest">125</property>
540 <property name="CanFocus">True</property>
541 <property name="ShowScrollbars">True</property>
542 <property name="HeadersVisible">False</property>
543 <property name="HeadersClickable">True</property>
544 <signal name="RowActivated" handler="lstGameSystemsRowActivated" />
545 </widget>
546 </child>
547 </widget>
548 <packing>
549 <property name="Position">1</property>
550 <property name="AutoSize">True</property>
551 </packing>
552 </child>
553 </widget>
554 <packing>
555 <property name="Position">0</property>
556 <property name="AutoSize">False</property>
557 </packing>
558 </child>
559 </widget>
560 </child>
561 <child internal-child="ActionArea">
562 <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
563 <property name="MemberName" />
564 <property name="Spacing">6</property>
565 <property name="BorderWidth">5</property>
566 <property name="Size">2</property>
567 <property name="LayoutStyle">End</property>
568 <child>
569 <widget class="Gtk.Button" id="buttonCancel">
570 <property name="MemberName" />
571 <property name="CanDefault">True</property>
572 <property name="CanFocus">True</property>
573 <property name="UseStock">True</property>
574 <property name="Type">StockItem</property>
575 <property name="StockId">gtk-cancel</property>
576 <property name="ResponseId">-6</property>
577 <signal name="Clicked" handler="OnCancel" />
578 <property name="label">gtk-cancel</property>
579 </widget>
580 <packing>
581 <property name="Expand">False</property>
582 <property name="Fill">False</property>
583 </packing>
584 </child>
585 <child>
586 <widget class="Gtk.Button" id="buttonOk">
587 <property name="MemberName" />
588 <property name="Sensitive">False</property>
589 <property name="CanDefault">True</property>
590 <property name="CanFocus">True</property>
591 <property name="UseStock">True</property>
592 <property name="Type">StockItem</property>
593 <property name="StockId">gtk-ok</property>
594 <property name="ResponseId">-5</property>
595 <signal name="Clicked" handler="OnGameSystemOkayClicked" />
596 <property name="label">gtk-ok</property>
597 </widget>
598 <packing>
599 <property name="Position">1</property>
600 <property name="Expand">False</property>
601 <property name="Fill">False</property>
602 </packing>
603 </child>
604 </widget>
605 </child>
606 </widget>
607 <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.FrmNewUnit" design-size="400 318">
608 <property name="MemberName" />
609 <property name="Title" translatable="yes">Add new unit</property>
610 <property name="Icon">stock:gtk-new Menu</property>
611 <property name="WindowPosition">CenterOnParent</property>
612 <property name="Modal">True</property>
613 <property name="SkipPagerHint">True</property>
614 <property name="SkipTaskbarHint">True</property>
615 <property name="Buttons">2</property>
616 <property name="HelpButton">False</property>
617 <property name="HasSeparator">False</property>
618 <child internal-child="VBox">
619 <widget class="Gtk.VBox" id="dialog1_VBox">
620 <property name="MemberName" />
621 <property name="BorderWidth">2</property>
622 <child>
623 <widget class="Gtk.VBox" id="vbox2">
624 <property name="MemberName" />
625 <property name="Spacing">6</property>
626 <child>
627 <widget class="Gtk.HBox" id="hbox1">
628 <property name="MemberName" />
629 <property name="Spacing">6</property>
630 <child>
631 <widget class="Gtk.Label" id="label1">
632 <property name="MemberName" />
633 <property name="LabelProp" translatable="yes">Unit Type:</property>
634 </widget>
635 <packing>
636 <property name="Position">0</property>
637 <property name="AutoSize">True</property>
638 <property name="Expand">False</property>
639 <property name="Fill">False</property>
640 </packing>
641 </child>
642 <child>
643 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
644 <property name="MemberName" />
645 <property name="ShadowType">In</property>
646 <child>
647 <widget class="Gtk.TreeView" id="lstUnitTypes">
648 <property name="MemberName" />
649 <property name="HeightRequest">150</property>
650 <property name="CanFocus">True</property>
651 <property name="ShowScrollbars">True</property>
652 <property name="HeadersVisible">False</property>
653 <property name="HeadersClickable">True</property>
654 <signal name="RowActivated" handler="OnRowActivated" />
655 </widget>
656 </child>
657 </widget>
658 <packing>
659 <property name="Position">1</property>
660 <property name="AutoSize">True</property>
661 </packing>
662 </child>
663 </widget>
664 <packing>
665 <property name="Position">0</property>
666 <property name="AutoSize">True</property>
667 <property name="Expand">False</property>
668 <property name="Fill">False</property>
669 </packing>
670 </child>
671 <child>
672 <widget class="Gtk.Label" id="lblNewUnitWarning">
673 <property name="MemberName" />
674 <property name="Xalign">0</property>
675 <property name="Yalign">0</property>
676 <property name="LabelProp" translatable="yes" />
677 </widget>
678 <packing>
679 <property name="Position">1</property>
680 <property name="AutoSize">True</property>
681 <property name="Expand">False</property>
682 <property name="Fill">False</property>
683 </packing>
684 </child>
685 </widget>
686 <packing>
687 <property name="Position">0</property>
688 <property name="AutoSize">True</property>
689 <property name="Expand">False</property>
690 <property name="Fill">False</property>
691 </packing>
692 </child>
693 </widget>
694 </child>
695 <child internal-child="ActionArea">
696 <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
697 <property name="MemberName" />
698 <property name="Spacing">6</property>
699 <property name="BorderWidth">5</property>
700 <property name="Size">2</property>
701 <property name="LayoutStyle">End</property>
702 <child>
703 <widget class="Gtk.Button" id="buttonCancel">
704 <property name="MemberName" />
705 <property name="CanDefault">True</property>
706 <property name="CanFocus">True</property>
707 <property name="UseStock">True</property>
708 <property name="Type">StockItem</property>
709 <property name="StockId">gtk-cancel</property>
710 <property name="ResponseId">-6</property>
711 <signal name="Activated" handler="OnButtonCancelActivated" />
712 <property name="label">gtk-cancel</property>
713 </widget>
714 <packing>
715 <property name="Expand">False</property>
716 <property name="Fill">False</property>
717 </packing>
718 </child>
719 <child>
720 <widget class="Gtk.Button" id="buttonOk">
721 <property name="MemberName" />
722 <property name="Sensitive">False</property>
723 <property name="CanDefault">True</property>
724 <property name="CanFocus">True</property>
725 <property name="UseStock">True</property>
726 <property name="Type">StockItem</property>
727 <property name="StockId">gtk-ok</property>
728 <property name="ResponseId">-5</property>
729 <signal name="Clicked" handler="OnButtonOkClicked" />
730 <property name="label">gtk-ok</property>
731 </widget>
732 <packing>
733 <property name="Position">1</property>
734 <property name="Expand">False</property>
735 <property name="Fill">False</property>
736 </packing>
737 </child>
738 </widget>
739 </child>
740 </widget>
741 <widget class="Gtk.Bin" id="IBBoard.WarFoundry.Widgets.UnitDisplayWidget" design-size="649 422">
742 <property name="MemberName" />
743 <child>
744 <widget class="Gtk.VBox" id="vbox1">
745 <property name="MemberName" />
746 <property name="Spacing">6</property>
747 <child>
748 <widget class="Gtk.HBox" id="hbox1">
749 <property name="MemberName" />
750 <property name="Spacing">6</property>
751 <child>
752 <widget class="Gtk.Entry" id="unitName">
753 <property name="MemberName" />
754 <property name="CanFocus">True</property>
755 <property name="IsEditable">True</property>
756 <property name="InvisibleChar">•</property>
757 <signal name="FocusOutEvent" handler="OnUnitNameFocusOut" />
758 <signal name="KeyPressEvent" handler="OnUnitNameKeyPress" />
759 </widget>
760 <packing>
761 <property name="Position">0</property>
762 <property name="AutoSize">True</property>
763 </packing>
764 </child>
765 <child>
766 <widget class="Gtk.SpinButton" id="unitSize">
767 <property name="MemberName" />
768 <property name="CanFocus">True</property>
769 <property name="Upper">100</property>
770 <property name="PageIncrement">10</property>
771 <property name="StepIncrement">1</property>
772 <property name="ClimbRate">1</property>
773 <property name="Numeric">True</property>
774 <signal name="FocusOutEvent" handler="OnUnitSizeFocusOut" />
775 <signal name="KeyPressEvent" handler="OnUnitSizeKeyPress" />
776 </widget>
777 <packing>
778 <property name="Position">1</property>
779 <property name="AutoSize">True</property>
780 <property name="Expand">False</property>
781 <property name="Fill">False</property>
782 </packing>
783 </child>
784 </widget>
785 <packing>
786 <property name="Position">0</property>
787 <property name="AutoSize">True</property>
788 <property name="Expand">False</property>
789 <property name="Fill">False</property>
790 </packing>
791 </child>
792 <child>
793 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
794 <property name="MemberName" />
795 <property name="ShadowType">In</property>
796 <child>
797 <widget class="Gtk.NodeView" id="unitStats">
798 <property name="MemberName" />
799 <property name="HeightRequest">75</property>
800 <property name="CanFocus">True</property>
801 <property name="ShowScrollbars">True</property>
802 <property name="HeadersClickable">True</property>
803 </widget>
804 </child>
805 </widget>
806 <packing>
807 <property name="Position">1</property>
808 <property name="AutoSize">True</property>
809 </packing>
810 </child>
811 <child>
812 <widget class="Gtk.HSeparator" id="hseparator1">
813 <property name="MemberName" />
814 </widget>
815 <packing>
816 <property name="Position">2</property>
817 <property name="AutoSize">True</property>
818 <property name="Expand">False</property>
819 <property name="Fill">False</property>
820 </packing>
821 </child>
822 <child>
823 <widget class="Gtk.Table" id="table1">
824 <property name="MemberName" />
825 <property name="NRows">2</property>
826 <property name="NColumns">3</property>
827 <property name="RowSpacing">6</property>
828 <property name="ColumnSpacing">6</property>
829 <child>
830 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow1">
831 <property name="MemberName" />
832 <property name="ShadowType">In</property>
833 <child>
834 <widget class="Gtk.NodeView" id="optionalEquipment">
835 <property name="MemberName" />
836 <property name="CanFocus">True</property>
837 <property name="ShowScrollbars">True</property>
838 <property name="HeadersClickable">True</property>
839 </widget>
840 </child>
841 </widget>
842 <packing>
843 <property name="TopAttach">1</property>
844 <property name="BottomAttach">2</property>
845 <property name="LeftAttach">1</property>
846 <property name="RightAttach">2</property>
847 <property name="AutoSize">True</property>
848 <property name="YOptions">Fill</property>
849 <property name="XExpand">True</property>
850 <property name="XFill">True</property>
851 <property name="XShrink">False</property>
852 <property name="YExpand">False</property>
853 <property name="YFill">True</property>
854 <property name="YShrink">False</property>
855 </packing>
856 </child>
857 <child>
858 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow2">
859 <property name="MemberName" />
860 <property name="ShadowType">In</property>
861 <child>
862 <widget class="Gtk.NodeView" id="requiredEquipment">
863 <property name="MemberName" />
864 <property name="CanFocus">True</property>
865 <property name="ShowScrollbars">True</property>
866 <property name="HeadersClickable">True</property>
867 </widget>
868 </child>
869 </widget>
870 <packing>
871 <property name="LeftAttach">1</property>
872 <property name="RightAttach">2</property>
873 <property name="AutoSize">True</property>
874 <property name="YOptions">Fill</property>
875 <property name="XExpand">True</property>
876 <property name="XFill">True</property>
877 <property name="XShrink">False</property>
878 <property name="YExpand">False</property>
879 <property name="YFill">True</property>
880 <property name="YShrink">False</property>
881 </packing>
882 </child>
883 <child>
884 <widget class="Gtk.Label" id="optionalEquipmentLabel">
885 <property name="MemberName" />
886 <property name="LabelProp" translatable="yes">Optional Equipment:</property>
887 </widget>
888 <packing>
889 <property name="TopAttach">1</property>
890 <property name="BottomAttach">2</property>
891 <property name="AutoSize">True</property>
892 <property name="XOptions">Fill</property>
893 <property name="YOptions">Fill</property>
894 <property name="XExpand">False</property>
895 <property name="XFill">True</property>
896 <property name="XShrink">False</property>
897 <property name="YExpand">False</property>
898 <property name="YFill">True</property>
899 <property name="YShrink">False</property>
900 </packing>
901 </child>
902 <child>
903 <widget class="Gtk.Label" id="requiredEquipmentLabel">
904 <property name="MemberName" />
905 <property name="LabelProp" translatable="yes">Required Equipment:</property>
906 </widget>
907 <packing>
908 <property name="AutoSize">True</property>
909 <property name="XOptions">Fill</property>
910 <property name="YOptions">Fill</property>
911 <property name="XExpand">False</property>
912 <property name="XFill">True</property>
913 <property name="XShrink">False</property>
914 <property name="YExpand">False</property>
915 <property name="YFill">True</property>
916 <property name="YShrink">False</property>
917 </packing>
918 </child>
919 <child>
920 <widget class="Gtk.VBox" id="vbox2">
921 <property name="MemberName" />
922 <property name="Spacing">6</property>
923 <child>
924 <widget class="Gtk.Button" id="bttnReplaceRequired">
925 <property name="MemberName" />
926 <property name="CanFocus">True</property>
927 <property name="Type">TextOnly</property>
928 <property name="Label" translatable="yes">Replace</property>
929 <property name="UseUnderline">True</property>
930 </widget>
931 <packing>
932 <property name="Position">0</property>
933 <property name="AutoSize">True</property>
934 <property name="Expand">False</property>
935 <property name="Fill">False</property>
936 </packing>
937 </child>
938 <child>
939 <widget class="Gtk.Button" id="bttnEditRequired">
940 <property name="MemberName" />
941 <property name="CanFocus">True</property>
942 <property name="Type">TextOnly</property>
943 <property name="Label" translatable="yes">Edit</property>
944 <property name="UseUnderline">True</property>
945 </widget>
946 <packing>
947 <property name="Position">1</property>
948 <property name="AutoSize">True</property>
949 <property name="Expand">False</property>
950 <property name="Fill">False</property>
951 </packing>
952 </child>
953 <child>
954 <placeholder />
955 </child>
956 </widget>
957 <packing>
958 <property name="LeftAttach">2</property>
959 <property name="RightAttach">3</property>
960 <property name="AutoSize">True</property>
961 <property name="XOptions">Fill</property>
962 <property name="YOptions">Fill</property>
963 <property name="XExpand">False</property>
964 <property name="XFill">True</property>
965 <property name="XShrink">False</property>
966 <property name="YExpand">False</property>
967 <property name="YFill">True</property>
968 <property name="YShrink">False</property>
969 </packing>
970 </child>
971 <child>
972 <widget class="Gtk.VBox" id="vbox3">
973 <property name="MemberName" />
974 <property name="Spacing">6</property>
975 <child>
976 <widget class="Gtk.Button" id="bttnAddOptional">
977 <property name="MemberName" />
978 <property name="CanFocus">True</property>
979 <property name="Type">TextOnly</property>
980 <property name="Label" translatable="yes">Add</property>
981 <property name="UseUnderline">True</property>
982 </widget>
983 <packing>
984 <property name="Position">0</property>
985 <property name="AutoSize">True</property>
986 <property name="Expand">False</property>
987 <property name="Fill">False</property>
988 </packing>
989 </child>
990 <child>
991 <widget class="Gtk.Button" id="bttnEditOptional">
992 <property name="MemberName" />
993 <property name="CanFocus">True</property>
994 <property name="Type">TextOnly</property>
995 <property name="Label" translatable="yes">Edit</property>
996 <property name="UseUnderline">True</property>
997 </widget>
998 <packing>
999 <property name="Position">1</property>
1000 <property name="AutoSize">True</property>
1001 <property name="Expand">False</property>
1002 <property name="Fill">False</property>
1003 </packing>
1004 </child>
1005 <child>
1006 <widget class="Gtk.Button" id="bttnRemove">
1007 <property name="MemberName" />
1008 <property name="CanFocus">True</property>
1009 <property name="Type">TextOnly</property>
1010 <property name="Label" translatable="yes">Remove</property>
1011 <property name="UseUnderline">True</property>
1012 </widget>
1013 <packing>
1014 <property name="Position">2</property>
1015 <property name="AutoSize">True</property>
1016 <property name="Expand">False</property>
1017 <property name="Fill">False</property>
1018 </packing>
1019 </child>
1020 </widget>
1021 <packing>
1022 <property name="TopAttach">1</property>
1023 <property name="BottomAttach">2</property>
1024 <property name="LeftAttach">2</property>
1025 <property name="RightAttach">3</property>
1026 <property name="AutoSize">True</property>
1027 <property name="XOptions">Fill</property>
1028 <property name="YOptions">Fill</property>
1029 <property name="XExpand">False</property>
1030 <property name="XFill">True</property>
1031 <property name="XShrink">False</property>
1032 <property name="YExpand">False</property>
1033 <property name="YFill">True</property>
1034 <property name="YShrink">False</property>
1035 </packing>
1036 </child>
1037 </widget>
1038 <packing>
1039 <property name="Position">3</property>
1040 <property name="AutoSize">True</property>
1041 <property name="Expand">False</property>
1042 <property name="Fill">False</property>
1043 </packing>
1044 </child>
1045 <child>
1046 <widget class="Gtk.HBox" id="hbox2">
1047 <property name="MemberName" />
1048 <property name="Spacing">6</property>
1049 <child>
1050 <placeholder />
1051 </child>
1052 <child>
1053 <placeholder />
1054 </child>
1055 <child>
1056 <placeholder />
1057 </child>
1058 </widget>
1059 <packing>
1060 <property name="Position">4</property>
1061 <property name="AutoSize">True</property>
1062 </packing>
1063 </child>
1064 </widget>
1065 </child>
1066 </widget>
1067 </stetic-interface>