]> ruin.nu Git - hbs.git/blob - bs/ui/bsappbase.ui
adding, removing and chaning fleets now works.
[hbs.git] / bs / ui / bsappbase.ui
1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
2 <class>BSAppBase</class>
3 <widget class="QMainWindow">
4     <property name="name">
5         <cstring>BSAppBase</cstring>
6     </property>
7     <property name="geometry">
8         <rect>
9             <x>0</x>
10             <y>0</y>
11             <width>726</width>
12             <height>519</height>
13         </rect>
14     </property>
15     <property name="caption">
16         <string>Harvalen's Battlesystem</string>
17     </property>
18 </widget>
19 <menubar>
20     <property name="name">
21         <cstring>menubar</cstring>
22     </property>
23     <property name="geometry">
24         <rect>
25             <x>0</x>
26             <y>0</y>
27             <width>726</width>
28             <height>26</height>
29         </rect>
30     </property>
31     <item text="&amp;File" name="fileMenu">
32         <action name="fileNewAction"/>
33         <action name="fileOpenAction"/>
34         <action name="fileSaveAction"/>
35         <action name="fileSaveAsAction"/>
36         <separator/>
37         <action name="filePrintAction"/>
38         <separator/>
39         <action name="fileExitAction"/>
40     </item>
41     <item text="&amp;Edit" name="editMenu">
42         <action name="editUndoAction"/>
43         <action name="editRedoAction"/>
44         <separator/>
45         <action name="editCutAction"/>
46         <action name="editCopyAction"/>
47         <action name="editPasteAction"/>
48         <separator/>
49         <action name="editFindAction"/>
50     </item>
51     <item text="Battle" name="PopupMenu">
52         <action name="battleNewAction"/>
53         <action name="battleSimulateAction"/>
54     </item>
55     <item text="&amp;Help" name="helpMenu">
56         <action name="helpContentsAction"/>
57         <action name="helpIndexAction"/>
58         <separator/>
59         <action name="helpAboutAction"/>
60     </item>
61 </menubar>
62 <toolbars>
63     <toolbar dock="2">
64         <property name="name">
65             <cstring>toolBar</cstring>
66         </property>
67         <property name="label">
68             <string>Tools</string>
69         </property>
70         <action name="fileNewAction"/>
71         <action name="fileOpenAction"/>
72         <action name="fileSaveAction"/>
73     </toolbar>
74 </toolbars>
75 <actions>
76     <action>
77         <property name="name">
78             <cstring>fileNewAction</cstring>
79         </property>
80         <property name="iconSet">
81             <iconset>image0</iconset>
82         </property>
83         <property name="text">
84             <string>New</string>
85         </property>
86         <property name="menuText">
87             <string>&amp;New</string>
88         </property>
89         <property name="accel">
90             <number>0</number>
91         </property>
92     </action>
93     <action>
94         <property name="name">
95             <cstring>fileOpenAction</cstring>
96         </property>
97         <property name="iconSet">
98             <iconset>image1</iconset>
99         </property>
100         <property name="text">
101             <string>Open</string>
102         </property>
103         <property name="menuText">
104             <string>&amp;Open...</string>
105         </property>
106         <property name="accel">
107             <number>4194383</number>
108         </property>
109     </action>
110     <action>
111         <property name="name">
112             <cstring>fileSaveAction</cstring>
113         </property>
114         <property name="iconSet">
115             <iconset>image2</iconset>
116         </property>
117         <property name="text">
118             <string>Save</string>
119         </property>
120         <property name="menuText">
121             <string>&amp;Save</string>
122         </property>
123         <property name="accel">
124             <number>4194387</number>
125         </property>
126     </action>
127     <action>
128         <property name="name">
129             <cstring>fileSaveAsAction</cstring>
130         </property>
131         <property name="text">
132             <string>Save As</string>
133         </property>
134         <property name="menuText">
135             <string>Save &amp;As...</string>
136         </property>
137         <property name="accel">
138             <number>0</number>
139         </property>
140     </action>
141     <action>
142         <property name="name">
143             <cstring>filePrintAction</cstring>
144         </property>
145         <property name="iconSet">
146             <iconset>image3</iconset>
147         </property>
148         <property name="text">
149             <string>Print</string>
150         </property>
151         <property name="menuText">
152             <string>&amp;Print...</string>
153         </property>
154         <property name="accel">
155             <number>4194384</number>
156         </property>
157     </action>
158     <action>
159         <property name="name">
160             <cstring>fileExitAction</cstring>
161         </property>
162         <property name="text">
163             <string>Exit</string>
164         </property>
165         <property name="menuText">
166             <string>E&amp;xit</string>
167         </property>
168         <property name="accel">
169             <number>0</number>
170         </property>
171     </action>
172     <action>
173         <property name="name">
174             <cstring>editUndoAction</cstring>
175         </property>
176         <property name="iconSet">
177             <iconset>image4</iconset>
178         </property>
179         <property name="text">
180             <string>Undo</string>
181         </property>
182         <property name="menuText">
183             <string>&amp;Undo</string>
184         </property>
185         <property name="accel">
186             <number>4194394</number>
187         </property>
188     </action>
189     <action>
190         <property name="name">
191             <cstring>editRedoAction</cstring>
192         </property>
193         <property name="iconSet">
194             <iconset>image5</iconset>
195         </property>
196         <property name="text">
197             <string>Redo</string>
198         </property>
199         <property name="menuText">
200             <string>&amp;Redo</string>
201         </property>
202         <property name="accel">
203             <number>4194393</number>
204         </property>
205     </action>
206     <action>
207         <property name="name">
208             <cstring>editCutAction</cstring>
209         </property>
210         <property name="iconSet">
211             <iconset>image6</iconset>
212         </property>
213         <property name="text">
214             <string>Cut</string>
215         </property>
216         <property name="menuText">
217             <string>&amp;Cut</string>
218         </property>
219         <property name="accel">
220             <number>4194392</number>
221         </property>
222     </action>
223     <action>
224         <property name="name">
225             <cstring>editCopyAction</cstring>
226         </property>
227         <property name="iconSet">
228             <iconset>image7</iconset>
229         </property>
230         <property name="text">
231             <string>Copy</string>
232         </property>
233         <property name="menuText">
234             <string>C&amp;opy</string>
235         </property>
236         <property name="accel">
237             <number>4194371</number>
238         </property>
239     </action>
240     <action>
241         <property name="name">
242             <cstring>editPasteAction</cstring>
243         </property>
244         <property name="iconSet">
245             <iconset>image8</iconset>
246         </property>
247         <property name="text">
248             <string>Paste</string>
249         </property>
250         <property name="menuText">
251             <string>&amp;Paste</string>
252         </property>
253         <property name="accel">
254             <number>4194390</number>
255         </property>
256     </action>
257     <action>
258         <property name="name">
259             <cstring>editFindAction</cstring>
260         </property>
261         <property name="iconSet">
262             <iconset>image9</iconset>
263         </property>
264         <property name="text">
265             <string>Find</string>
266         </property>
267         <property name="menuText">
268             <string>&amp;Find...</string>
269         </property>
270         <property name="accel">
271             <number>4194374</number>
272         </property>
273     </action>
274     <action>
275         <property name="name">
276             <cstring>helpContentsAction</cstring>
277         </property>
278         <property name="text">
279             <string>Contents</string>
280         </property>
281         <property name="menuText">
282             <string>&amp;Contents...</string>
283         </property>
284         <property name="accel">
285             <number>0</number>
286         </property>
287     </action>
288     <action>
289         <property name="name">
290             <cstring>helpIndexAction</cstring>
291         </property>
292         <property name="text">
293             <string>Index</string>
294         </property>
295         <property name="menuText">
296             <string>&amp;Index...</string>
297         </property>
298         <property name="accel">
299             <number>0</number>
300         </property>
301     </action>
302     <action>
303         <property name="name">
304             <cstring>helpAboutAction</cstring>
305         </property>
306         <property name="text">
307             <string>About</string>
308         </property>
309         <property name="menuText">
310             <string>&amp;About...</string>
311         </property>
312         <property name="accel">
313             <number>0</number>
314         </property>
315     </action>
316     <action>
317         <property name="name">
318             <cstring>battleNewAction</cstring>
319         </property>
320         <property name="text">
321             <string>New</string>
322         </property>
323         <property name="toolTip">
324             <string>Create what's needed to add fleets to a battle</string>
325         </property>
326         <property name="statusTip">
327             <string>Create a new battle with initial groups and home planet</string>
328         </property>
329         <property name="accel">
330             <number>4194382</number>
331         </property>
332     </action>
333     <action>
334         <property name="name">
335             <cstring>battleSimulateAction</cstring>
336         </property>
337         <property name="text">
338             <string>Run Simulate Battle</string>
339         </property>
340         <property name="accel">
341             <number>4194386</number>
342         </property>
343     </action>
344 </actions>
345 <images>
346     <image name="image0">
347         <data format="XPM.GZ" length="721">789cedd2310ac23014c6f13da778245b11ab29c114f1088aa3200eaf2f151daaa07510f1eef64553ac696fe04787fcf90dc9d03481cd7a09492aae35d647023ae0051277abaafb76b77808a93534df0ca67224e4180856e753c967d59cd5c48fb3e0d4b9269d7312a741e30c723a4e9b596333ce92930c69329cc8b9f7f3b7f42e886a1709bea70a3524142812172892325024182892f681bff2f1bf74a5bb2f19fe0f7ae439172f13a0a94f</data>
348     </image>
349     <image name="image1">
350         <data format="XPM.GZ" length="691">789cad914d0ac2301085f739c5d0d905b1b62214c423282e05713189165d5441eb42c4bb9b9fa6a67644045f0299978f3713482a61b59c834cc5a5a6faa041efe90c727badaadb7a33bb8b24cfc1ec0964c9402443d0b0381d77b64653e3c8c95a6d6d312e326fc9dad2c85b156c59ba3eacfe41d0c89defc4dfa2dd7c37fc44b025a179043c4152a4b055f4365414ad0e8901fd94c1ae5e19441da9211c68e7f44098d3074d86019e70a0210c089958df7ffb31154f9c7397a6</data>
351     </image>
352     <image name="image2">
353         <data format="XPM.GZ" length="691">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022530543251d2e253d856405bffcbc54105b19c856360003103711c4b530b63084709340dc64d364a36453103719cc4d49324b0173f5b002b08c32160095494c544e4202400e6932c9406174d39293617a807c226510f6d04e2611d9ff892832688028196554e3b0c9e076010d65b04437341d604f21b5d65c008f8da445</data>
354     </image>
355     <image name="image3">
356         <data format="XPM.GZ" length="2509">789c7d944973db381085effe152af7cd35d5a1242e604dcdc189b37a899d65e2646a0e240168b32cc992bc646afefb34ba1b509671f40c9a9fde43a349507c72d0bb3c3fed1d3cd95b6f9acda4eb75e3e6a67760b7f3f9c35f7ffff1cfdefe60d0a33f637a83fddff6f62f36bdae77b6b87601704000197f98df331bef3313186e03f7b3ccf4c5ff281cc47e9798f378ca6c22835336ea1f461e48bd93c0832c325c0907b1ff3571cdfe9cb94ebc5536cad791877d9eff4ed87bf5178187fde47f101e66c2b04ccc79fc22ecbdfa2be63afab051369a7f889c4b7e1d38ef47c685709ea93f666e7253f0e620f75f34455634ecdf28d7a5f8af853ba77e1bb86cca7ec98c4be55af93e723564fe2cecbdd6e3fb5d0d93cfd753b555bf6a99d7918df899b0f7ea737f6658d5ea6f13b30f23615308233f4fa6adea3a677f229cfcbbc8ea4f95adfa26b2f8c8cf439d478659e28ed90bd75a0f5789d9c737c25da9f32d73177d682237327fa6acf5f12cb2faaf843ba77c1cb8c9a30f9858e64f849b587f9858d607e62ee5ff148e3e5a65a73c8ddc4abd3a709b2706e1b654e6eb6b6deb5acb5c09db52997fdf5dd1955dc15c305b62f15b65a79c47b6927f11d816895f2696f7cf58d896ea3f4f2cfe85b0f7ea3f6576c9ef477625f34839d63f8aac7e19d89589bdb08bf39f2596f997c2deabff96d925df293be54f817d19c47ccecc1f79f9ee84800db6aa8ed4902c36d1ff29dfa0439fe458a35fe63b56ac2f6b748fe6813b08023dc2e3fd502d2bf552efe11c76891ff2bbba4d4aff3a0fa9aea4c3b08fe6bbef6aa72b79346fe9ae78ba7f3b8d694c48d31ff354678657d4cf98e6ec469833c76b5ce032ac13f3945ee10dae71f39db6788b77788f0ff8150f69ce44f25cfb293ec3233a3e57bdc097f80a5fe31b3ca6e409e9141fe4f78a67f816cf7fd205bec3f7345a5ae503d5ff8827f2bec04fff933ec74bfc8c5f30a3b33ef5768803cd0f69f51c0b1a63ee648425777644e715f5153c43dd0cf050debf58e394561902d2dce3f0c8e0844638030877c2400b5daa3fa7f454b2ac331e2c68c082c53bc98393f73757fc26473567922435388711b4a11f186b7dae9c52e93f555e916b6082f7d08143abf547f4cd1d4c694ce8cae46842926acff89b161c78d95f6ae62aec1fd011e6ac6b589096a41569c9e7fedbe7072ddcc09ab48125ed0d09b6b0a5f98e744bfb3bd3e7eddfdff7fe0305be5c9c</data>
357     </image>
358     <image name="image4">
359         <data format="XPM.GZ" length="661">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022630543251d2e253d856405bffcbc54105b19c8563600020b63103711c4b530b6308470f5b082019251068344848c32b23808206494a1e23015890819653db8b81e44255c0659025d460fa70c6e3d78ec814b21b90d052422fb070540f50ebaf84196a9b5e6020008a373c8</data>
360     </image>
361     <image name="image5">
362         <data format="XPM.GZ" length="661">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022630543251d2e253d856405bffcbc54103b11c8563600020b63105719c4b530b6308470f5b0027acb28278201a64c221c4084136132ca7011885c225c06c91890542256193d98a198327a386570ea49449581bb4d2f114d0624a08c230c50fd4f5cb80da04cad351700eee4866e</data>
363     </image>
364     <image name="image6">
365         <data format="XPM.GZ" length="661">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022630543251d2e253d856405bffcbc54105b19c856360003103711c6b53006abc40a90649491482ac92863955146d6822ca387474619c9301419a03842825819245bd064129513b1cb242602512216994430d44bc4904984c8c1a5e032897a3019a8144c26518f800c92715864d0ec81ab4dc4701b924fb0850e8a4cad351700fe117ccc</data>
366     </image>
367     <image name="image7">
368         <data format="XPM.GZ" length="706">789c9d92cb0ac2301045f7f98aa1d915b1da82b4889fa0b814c4c54c6ad14515b42e44fc773b79d057ace04da073399c5042a21076db358491b857589d15a813de20cc1f65f9dc1f562f11c431d47b01f36022822928d85c2f479e653dcb990e5772354db82aae4996a8a2e09a734d29cd4c45ae858e3ed69b71226d3c04757ac81036b05edf1ceca0b643364387ccd7a2c69148c625453d079d936be47350239f637ec3e318ec733aa4edd8f997633374dc4d0d9d86fce1b433f60ede4bf101a375a557</data>
369     </image>
370     <image name="image8">
371         <data format="XPM.GZ" length="736">789c7d92d10a82301486ef7d8ae1ee24321561103d42d165105dcce3465d54507611d1bbb7736cbaadd93f85fd7efb183af38cedb66b96e5c9bd93dd09181ce58d65ede37c7eee0fab57929625339760453a4bd23903b6b95e14ceb999f30505abb255545801aba844d1d3c6d69eb658a186126aac12ab36e9176b5bb5a64da37108c784841e7229251f319101b8885e8837d018c2e9a6b925585a1b6a9640030ec1e63a6302c71faee38fd051434247f51f4c2bad4247936008a2b88368c23128ea50628e9e741ce23bdfcd9cf3e1bf8e3d5fe5e5cf1ff25e261ff1b8c16c</data>
372     </image>
373     <image name="image9">
374         <data format="XPM.GZ" length="2798">789cb5d5594f23471007f0773e8545bda1e8bfbe66ecd16a1fcc7d3ab017ec46799899ee010c0603365794ef9e9afe574f2201118a14350ffcd4d555d5c7c08795d6c9e1416be5c3d2dd3c9f9f97adf22cbf6dadb8c574faf4dbef9ffe585aee765bfad369a7adeef22f4bcb47f356d91a5f5ff91a325648b75d8fe0dde0ac3bec66c17bb57b596fd8a30f6af73bfd76bf531bd3da499e64491ee66fe94127a54774e686bde0d5da6937eda4a1198ccd99c56fd1cdfa7b3af7c322783b388ff128e94167c0fcebe68cc665e3b01ec7f43031cfcd8e96473a4bacdf073af7593fc42f6a0f7ab11eeecdb1de6963e65fa787b67f0ce826bf6bccfacfb41e68193ca38b94f5e5daec398f22b868eafd4a0f63fe9c8efdcb4d63e63fa7353ff325e6385f44e75c7f4697162f4fd19cc7b0f6b017eba31f5d70fe8cce9cf57345e749cefadfcdb1de061dfb93cd689b9f9863fc9c8efdc8a5d95b7ee62bf43e78dea7d1850b163ab37e654ae7dee64b3ad6c73eadf598ffabd9ea49156dfb0ff791f5b3c4ded315dddcf722ba0cf5704117b1ff03baa997465bfe5573acd7a15d9c5f6bccfc99d9f687f0bd676596b824d8999dbd8f07bab0fc8268c6cb1d5dc67cdd68db4f9b6eea7da17dece76774c9fadf6ae77a5e8e7faff6697d2fdccf882e52cea317ede91d3ad6970bda79cb7f4737f5c27de5651ecf7b37daf27da69b7ae77419f31dd22ee69b98637d4f6b3dee37bcb742fbb5fbd9367bcb7f44bbe85bdadb7923e42b5c11cff3992ed32a0d7ea25d5a55c127b44f6dfd8d39e6ff4157b63f09e7572665dccf23edbce59fd155ea8325bcaf52ebd9feb6ccdeea5fd35565e719be67975415f31dcddf3ffe7b3c04390a943a0a38f87f8f4785539ce11c131d17b8d435f276bc464f71856b1d33dce016779863f15a0dde1feef1a071333ce209cf1861156b58c7c61bf14e3bd9d4f82d6c6347c72ef6b08f038c5ff6c4ff0738d44e8ef059f37ec157cdff0ddff5f763b857e34f71821ff8a9a38d0ebae8a18f04290618be113fd13db691a123404f447229a414f746fc3d0ec56be68e5418c9291239937399683f2f76ccbfd79aeb4263f7e552a67225d732d37123b7a85e8dd7bb923b99eb286481bedccb838ec7d76ec0ee6b03737992423b7916a7b9473a56e1644d73f957e23d0a59970dd99489769eebc94cebb344a5aba6ffecaa793f5e6b8c655df7782c5bb2cd18d9d13cbbb2a773fee57bd617ea7426977dd9f93ba3ea40d75886f7bc7fadbd90b156c9dfffbde8def774cdf6fbbf2f48bdf7fffdfbfdf3e3d25f9a24cea0</data>
375     </image>
376 </images>
377 <connections>
378     <connection>
379         <sender>fileNewAction</sender>
380         <signal>activated()</signal>
381         <receiver>BSAppBase</receiver>
382         <slot>fileNew()</slot>
383     </connection>
384     <connection>
385         <sender>fileOpenAction</sender>
386         <signal>activated()</signal>
387         <receiver>BSAppBase</receiver>
388         <slot>fileOpen()</slot>
389     </connection>
390     <connection>
391         <sender>fileSaveAction</sender>
392         <signal>activated()</signal>
393         <receiver>BSAppBase</receiver>
394         <slot>fileSave()</slot>
395     </connection>
396     <connection>
397         <sender>fileSaveAsAction</sender>
398         <signal>activated()</signal>
399         <receiver>BSAppBase</receiver>
400         <slot>fileSaveAs()</slot>
401     </connection>
402     <connection>
403         <sender>filePrintAction</sender>
404         <signal>activated()</signal>
405         <receiver>BSAppBase</receiver>
406         <slot>filePrint()</slot>
407     </connection>
408     <connection>
409         <sender>fileExitAction</sender>
410         <signal>activated()</signal>
411         <receiver>BSAppBase</receiver>
412         <slot>fileExit()</slot>
413     </connection>
414     <connection>
415         <sender>editUndoAction</sender>
416         <signal>activated()</signal>
417         <receiver>BSAppBase</receiver>
418         <slot>editUndo()</slot>
419     </connection>
420     <connection>
421         <sender>editRedoAction</sender>
422         <signal>activated()</signal>
423         <receiver>BSAppBase</receiver>
424         <slot>editRedo()</slot>
425     </connection>
426     <connection>
427         <sender>editCutAction</sender>
428         <signal>activated()</signal>
429         <receiver>BSAppBase</receiver>
430         <slot>editCut()</slot>
431     </connection>
432     <connection>
433         <sender>editPasteAction</sender>
434         <signal>activated()</signal>
435         <receiver>BSAppBase</receiver>
436         <slot>editPaste()</slot>
437     </connection>
438     <connection>
439         <sender>editFindAction</sender>
440         <signal>activated()</signal>
441         <receiver>BSAppBase</receiver>
442         <slot>editFind()</slot>
443     </connection>
444     <connection>
445         <sender>helpIndexAction</sender>
446         <signal>activated()</signal>
447         <receiver>BSAppBase</receiver>
448         <slot>helpIndex()</slot>
449     </connection>
450     <connection>
451         <sender>helpContentsAction</sender>
452         <signal>activated()</signal>
453         <receiver>BSAppBase</receiver>
454         <slot>helpContents()</slot>
455     </connection>
456     <connection>
457         <sender>helpAboutAction</sender>
458         <signal>activated()</signal>
459         <receiver>BSAppBase</receiver>
460         <slot>helpAbout()</slot>
461     </connection>
462     <connection>
463         <sender>battleNewAction</sender>
464         <signal>activated()</signal>
465         <receiver>BSAppBase</receiver>
466         <slot>battleNew()</slot>
467     </connection>
468     <connection>
469         <sender>battleSimulateAction</sender>
470         <signal>activated()</signal>
471         <receiver>BSAppBase</receiver>
472         <slot>battleSimulate()</slot>
473     </connection>
474 </connections>
475 <includes>
476     <include location="global" impldecl="in implementation">qapplication.h</include>
477     <include location="local" impldecl="in implementation">../bsdoc.h</include>
478     <include location="local" impldecl="in implementation">../bsview.h</include>
479     <include location="global" impldecl="in implementation">qinputdialog.h</include>
480     <include location="local" impldecl="in implementation">../bsconf.h</include>
481     <include location="local" impldecl="in implementation">bsappbase.ui.h</include>
482 </includes>
483 <forwards>
484     <forward>class BSConf</forward>
485     <forward>class BSView</forward>
486     <forward>class BSDoc</forward>
487 </forwards>
488 <variables>
489     <variable>BSConf* conf</variable>
490     <variable>BSView* view</variable>
491     <variable>BSDoc* doc</variable>
492 </variables>
493 <slots>
494     <slot>fileNew()</slot>
495     <slot>fileOpen()</slot>
496     <slot>fileSave()</slot>
497     <slot>fileSaveAs()</slot>
498     <slot>filePrint()</slot>
499     <slot>fileExit()</slot>
500     <slot>editUndo()</slot>
501     <slot>editRedo()</slot>
502     <slot>editCut()</slot>
503     <slot>init()</slot>
504     <slot>editPaste()</slot>
505     <slot>editFind()</slot>
506     <slot>helpIndex()</slot>
507     <slot>helpContents()</slot>
508     <slot>helpAbout()</slot>
509     <slot>battleNew()</slot>
510     <slot>battleSimulate()</slot>
511 </slots>
512 <layoutdefaults spacing="6" margin="11"/>
513 </UI>