1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
2 <class>BSAppBase</class>
3 <widget class="QMainWindow">
5 <cstring>BSAppBase</cstring>
7 <property name="geometry">
15 <property name="caption">
16 <string>Harvalen's Battlesystem</string>
20 <property name="name">
21 <cstring>menubar</cstring>
23 <property name="geometry">
31 <item text="&File" name="fileMenu">
32 <action name="fileNewAction"/>
33 <action name="fileOpenAction"/>
34 <action name="fileSaveAction"/>
35 <action name="fileSaveAsAction"/>
37 <action name="filePrintAction"/>
39 <action name="fileExitAction"/>
41 <item text="&Edit" name="editMenu">
42 <action name="editUndoAction"/>
43 <action name="editRedoAction"/>
45 <action name="editCutAction"/>
46 <action name="editCopyAction"/>
47 <action name="editPasteAction"/>
49 <action name="editFindAction"/>
51 <item text="Battle" name="PopupMenu">
52 <action name="battleNewAction"/>
53 <action name="battleSimulateAction"/>
55 <item text="&Help" name="helpMenu">
56 <action name="helpContentsAction"/>
57 <action name="helpIndexAction"/>
59 <action name="helpAboutAction"/>
64 <property name="name">
65 <cstring>toolBar</cstring>
67 <property name="label">
68 <string>Tools</string>
70 <action name="fileNewAction"/>
71 <action name="fileOpenAction"/>
72 <action name="fileSaveAction"/>
74 <widget class="QLabel">
75 <property name="name">
76 <cstring>TextLabel3</cstring>
78 <property name="text">
79 <string>Show result as:</string>
82 <widget class="QComboBox">
83 <property name="name">
84 <cstring>resultModeCombo</cstring>
87 <property name="text">
88 <string>Unit difference</string>
92 <property name="text">
93 <string>Blocked units</string>
97 <property name="text">
98 <string>Survived unts</string>
103 <widget class="QLabel">
104 <property name="name">
105 <cstring>TextLabel1</cstring>
107 <property name="text">
108 <string>From tick:</string>
111 <widget class="QSpinBox">
112 <property name="name">
113 <cstring>minTickSpin</cstring>
115 <property name="maxValue">
119 <widget class="QLabel">
120 <property name="name">
121 <cstring>TextLabel2</cstring>
123 <property name="text">
127 <widget class="QSpinBox">
128 <property name="name">
129 <cstring>maxTickSpin</cstring>
132 <widget class="QCheckBox">
133 <property name="name">
134 <cstring>oneTickCheck</cstring>
136 <property name="text">
137 <string>One tick only</string>
144 <property name="name">
145 <cstring>fileNewAction</cstring>
147 <property name="iconSet">
148 <iconset>image0</iconset>
150 <property name="text">
153 <property name="menuText">
154 <string>&New</string>
156 <property name="accel">
161 <property name="name">
162 <cstring>fileOpenAction</cstring>
164 <property name="iconSet">
165 <iconset>image1</iconset>
167 <property name="text">
168 <string>Open</string>
170 <property name="menuText">
171 <string>&Open...</string>
173 <property name="accel">
174 <number>4194383</number>
178 <property name="name">
179 <cstring>fileSaveAction</cstring>
181 <property name="iconSet">
182 <iconset>image2</iconset>
184 <property name="text">
185 <string>Save</string>
187 <property name="menuText">
188 <string>&Save</string>
190 <property name="accel">
191 <number>4194387</number>
195 <property name="name">
196 <cstring>fileSaveAsAction</cstring>
198 <property name="text">
199 <string>Save As</string>
201 <property name="menuText">
202 <string>Save &As...</string>
204 <property name="accel">
209 <property name="name">
210 <cstring>filePrintAction</cstring>
212 <property name="iconSet">
213 <iconset>image3</iconset>
215 <property name="text">
216 <string>Print</string>
218 <property name="menuText">
219 <string>&Print...</string>
221 <property name="accel">
222 <number>4194384</number>
226 <property name="name">
227 <cstring>fileExitAction</cstring>
229 <property name="text">
230 <string>Exit</string>
232 <property name="menuText">
233 <string>E&xit</string>
235 <property name="accel">
240 <property name="name">
241 <cstring>editUndoAction</cstring>
243 <property name="iconSet">
244 <iconset>image4</iconset>
246 <property name="text">
247 <string>Undo</string>
249 <property name="menuText">
250 <string>&Undo</string>
252 <property name="accel">
253 <number>4194394</number>
257 <property name="name">
258 <cstring>editRedoAction</cstring>
260 <property name="iconSet">
261 <iconset>image5</iconset>
263 <property name="text">
264 <string>Redo</string>
266 <property name="menuText">
267 <string>&Redo</string>
269 <property name="accel">
270 <number>4194393</number>
274 <property name="name">
275 <cstring>editCutAction</cstring>
277 <property name="iconSet">
278 <iconset>image6</iconset>
280 <property name="text">
283 <property name="menuText">
284 <string>&Cut</string>
286 <property name="accel">
287 <number>4194392</number>
291 <property name="name">
292 <cstring>editCopyAction</cstring>
294 <property name="iconSet">
295 <iconset>image7</iconset>
297 <property name="text">
298 <string>Copy</string>
300 <property name="menuText">
301 <string>C&opy</string>
303 <property name="accel">
304 <number>4194371</number>
308 <property name="name">
309 <cstring>editPasteAction</cstring>
311 <property name="iconSet">
312 <iconset>image8</iconset>
314 <property name="text">
315 <string>Paste</string>
317 <property name="menuText">
318 <string>&Paste</string>
320 <property name="accel">
321 <number>4194390</number>
325 <property name="name">
326 <cstring>editFindAction</cstring>
328 <property name="iconSet">
329 <iconset>image9</iconset>
331 <property name="text">
332 <string>Find</string>
334 <property name="menuText">
335 <string>&Find...</string>
337 <property name="accel">
338 <number>4194374</number>
342 <property name="name">
343 <cstring>helpContentsAction</cstring>
345 <property name="text">
346 <string>Contents</string>
348 <property name="menuText">
349 <string>&Contents...</string>
351 <property name="accel">
356 <property name="name">
357 <cstring>helpIndexAction</cstring>
359 <property name="text">
360 <string>Index</string>
362 <property name="menuText">
363 <string>&Index...</string>
365 <property name="accel">
370 <property name="name">
371 <cstring>helpAboutAction</cstring>
373 <property name="text">
374 <string>About</string>
376 <property name="menuText">
377 <string>&About...</string>
379 <property name="accel">
384 <property name="name">
385 <cstring>battleNewAction</cstring>
387 <property name="text">
390 <property name="toolTip">
391 <string>Create what's needed to add fleets to a battle</string>
393 <property name="statusTip">
394 <string>Create a new battle with initial groups and home planet</string>
396 <property name="accel">
397 <number>4194382</number>
401 <property name="name">
402 <cstring>battleSimulateAction</cstring>
404 <property name="text">
405 <string>Run Simulate Battle</string>
407 <property name="accel">
408 <number>4194386</number>
413 <image name="image0">
414 <data format="XPM.GZ" length="721">789cedd2310ac23014c6f13da778245b11ab29c114f1088aa3200eaf2f151daaa07510f1eef64553ac696fe04787fcf90dc9d03481cd7a09492aae35d647023ae0051277abaafb76b77808a93534df0ca67224e4180856e753c967d59cd5c48fb3e0d4b9269d7312a741e30c723a4e9b596333ce92930c69329cc8b9f7f3b7f42e886a1709bea70a3524142812172892325024182892f681bff2f1bf74a5bb2f19fe0f7ae439172f13a0a94f</data>
416 <image name="image1">
417 <data format="XPM.GZ" length="691">789cad914d0ac2301085f739c5d0d905b1b62214c423282e05713189165d5441eb42c4bb9b9fa6a67644045f0299978f3713482a61b59c834cc5a5a6faa041efe90c727badaadb7a33bb8b24cfc1ec0964c9402443d0b0381d77b64653e3c8c95a6d6d312e326fc9dad2c85b156c59ba3eacfe41d0c89defc4dfa2dd7c37fc44b025a179043c4152a4b055f4365414ad0e8901fd94c1ae5e19441da9211c68e7f44098d3074d86019e70a0210c089958df7ffb31154f9c7397a6</data>
419 <image name="image2">
420 <data format="XPM.GZ" length="691">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022530543251d2e253d856405bffcbc54105b19c856360003103711c4b530b63084709340dc64d364a36453103719cc4d49324b0173f5b002b08c32160095494c544e4202400e6932c9406174d39293617a807c226510f6d04e2611d9ff892832688028196554e3b0c9e076010d65b04437341d604f21b5d65c008f8da445</data>
422 <image name="image3">
423 <data format="XPM.GZ" length="2509">789c7d944973db381085effe152af7cd35d5a1242e604dcdc189b37a899d65e2646a0e240168b32cc992bc646afefb34ba1b509671f40c9a9fde43a349507c72d0bb3c3fed1d3cd95b6f9acda4eb75e3e6a67760b7f3f9c35f7ffff1cfdefe60d0a33f637a83fddff6f62f36bdae77b6b87601704000197f98df331bef3313186e03f7b3ccf4c5ff281cc47e9798f378ca6c22835336ea1f461e48bd93c0832c325c0907b1ff3571cdfe9cb94ebc5536cad791877d9eff4ed87bf5178187fde47f101e66c2b04ccc79fc22ecbdfa2be63afab051369a7f889c4b7e1d38ef47c685709ea93f666e7253f0e620f75f34455634ecdf28d7a5f8af853ba77e1bb86cca7ec98c4be55af93e723564fe2cecbdd6e3fb5d0d93cfd753b555bf6a99d7918df899b0f7ea737f6658d5ea6f13b30f23615308233f4fa6adea3a677f229cfcbbc8ea4f95adfa26b2f8c8cf439d478659e28ed90bd75a0f5789d9c737c25da9f32d73177d682237327fa6acf5f12cb2faaf843ba77c1cb8c9a30f9858e64f849b587f9858d607e62ee5ff148e3e5a65a73c8ddc4abd3a709b2706e1b654e6eb6b6deb5acb5c09db52997fdf5dd1955dc15c305b62f15b65a79c47b6927f11d816895f2696f7cf58d896ea3f4f2cfe85b0f7ea3f6576c9ef477625f34839d63f8aac7e19d89589bdb08bf39f2596f997c2deabff96d925df293be54f817d19c47ccecc1f79f9ee84800db6aa8ed4902c36d1ff29dfa0439fe458a35fe63b56ac2f6b748fe6813b08023dc2e3fd502d2bf552efe11c76891ff2bbba4d4aff3a0fa9aea4c3b08fe6bbef6aa72b79346fe9ae78ba7f3b8d694c48d31ff354678657d4cf98e6ec469833c76b5ce032ac13f3945ee10dae71f39db6788b77788f0ff8150f69ce44f25cfb293ec3233a3e57bdc097f80a5fe31b3ca6e409e9141fe4f78a67f816cf7fd205bec3f7345a5ae503d5ff8827f2bec04fff933ec74bfc8c5f30a3b33ef5768803cd0f69f51c0b1a63ee648425777644e715f5153c43dd0cf050debf58e394561902d2dce3f0c8e0844638030877c2400b5daa3fa7f454b2ac331e2c68c082c53bc98393f73757fc26473567922435388711b4a11f186b7dae9c52e93f555e916b6082f7d08143abf547f4cd1d4c694ce8cae46842926acff89b161c78d95f6ae62aec1fd011e6ac6b589096a41569c9e7fedbe7072ddcc09ab48125ed0d09b6b0a5f98e744bfb3bd3e7eddfdff7fe0305be5c9c</data>
425 <image name="image4">
426 <data format="XPM.GZ" length="661">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022630543251d2e253d856405bffcbc54105b19c8563600020b63103711c4b530b6308470f5b082019251068344848c32b23808206494a1e23015890819653db8b81e44255c0659025d460fa70c6e3d78ec814b21b90d052422fb070540f50ebaf84196a9b5e6020008a373c8</data>
428 <image name="image5">
429 <data format="XPM.GZ" length="661">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022630543251d2e253d856405bffcbc54103b11c8563600020b63105719c4b530b6308470f5b0027acb28278201a64c221c4084136132ca7011885c225c06c91890542256193d98a198327a386570ea49449581bb4d2f114d0624a08c230c50fd4f5cb80da04cad351700eee4866e</data>
431 <image name="image6">
432 <data format="XPM.GZ" length="661">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022630543251d2e253d856405bffcbc54105b19c856360003103711c6b53006abc40a90649491482ac92863955146d6822ca387474619c9301419a03842825819245bd064129513b1cb242602512216994430d44bc4904984c8c1a5e032897a3019a8144c26518f800c92715864d0ec81ab4dc4701b924fb0850e8a4cad351700fe117ccc</data>
434 <image name="image7">
435 <data format="XPM.GZ" length="706">789c9d92cb0ac2301045f7f98aa1d915b1da82b4889fa0b814c4c54c6ad14515b42e44fc773b79d057ace04da073399c5042a21076db358491b857589d15a813de20cc1f65f9dc1f562f11c431d47b01f36022822928d85c2f479e653dcb990e5772354db82aae4996a8a2e09a734d29cd4c45ae858e3ed69b71226d3c04757ac81036b05edf1ceca0b643364387ccd7a2c69148c625453d079d936be47350239f637ec3e318ec733aa4edd8f997633374dc4d0d9d86fce1b433f60ede4bf101a375a557</data>
437 <image name="image8">
438 <data format="XPM.GZ" length="736">789c7d92d10a82301486ef7d8ae1ee24321561103d42d165105dcce3465d54507611d1bbb7736cbaadd93f85fd7efb183af38cedb66b96e5c9bd93dd09181ce58d65ede37c7eee0fab57929625339760453a4bd23903b6b95e14ceb999f30505abb255545801aba844d1d3c6d69eb658a186126aac12ab36e9176b5bb5a64da37108c784841e7229251f319101b8885e8837d018c2e9a6b925585a1b6a9640030ec1e63a6302c71faee38fd051434247f51f4c2bad4247936008a2b88368c23128ea50628e9e741ce23bdfcd9cf3e1bf8e3d5fe5e5cf1ff25e261ff1b8c16c</data>
440 <image name="image9">
441 <data format="XPM.GZ" length="2798">789cb5d5594f23471007f0773e8545bda1e8bfbe66ecd16a1fcc7d3ab017ec46799899ee010c0603365794ef9e9afe574f2201118a14350ffcd4d555d5c7c08795d6c9e1416be5c3d2dd3c9f9f97adf22cbf6dadb8c574faf4dbef9ffe585aee765bfad369a7adeef22f4bcb47f356d91a5f5ff91a325648b75d8fe0dde0ac3bec66c17bb57b596fd8a30f6af73bfd76bf531bd3da499e64491ee66fe94127a54774e686bde0d5da6937eda4a1198ccd99c56fd1cdfa7b3af7c322783b388ff128e94167c0fcebe68cc665e3b01ec7f43031cfcd8e96473a4bacdf073af7593fc42f6a0f7ab11eeecdb1de6963e65fa787b67f0ce826bf6bccfacfb41e68193ca38b94f5e5daec398f22b868eafd4a0f63fe9c8efdcb4d63e63fa7353ff325e6385f44e75c7f4697162f4fd19cc7b0f6b017eba31f5d70fe8cce9cf57345e749cefadfcdb1de061dfb93cd689b9f9863fc9c8efdc8a5d95b7ee62bf43e78dea7d1850b163ab37e654ae7dee64b3ad6c73eadf598ffabd9ea49156dfb0ff791f5b3c4ded315dddcf722ba0cf5704117b1ff03baa997465bfe5573acd7a15d9c5f6bccfc99d9f687f0bd676596b824d8999dbd8f07bab0fc8268c6cb1d5dc67cdd68db4f9b6eea7da17dece76774c9fadf6ae77a5e8e7faff6697d2fdccf882e52cea317ede91d3ad6970bda79cb7f4737f5c27de5651ecf7b37daf27da69b7ae77419f31dd22ee69b98637d4f6b3dee37bcb742fbb5fbd9367bcb7f44bbe85bdadb7923e42b5c11cff3992ed32a0d7ea25d5a55c127b44f6dfd8d39e6ff4157b63f09e7572665dccf23edbce59fd155ea8325bcaf52ebd9feb6ccdeea5fd35565e719be67975415f31dcddf3ffe7b3c04390a943a0a38f87f8f4785539ce11c131d17b8d435f276bc464f71856b1d33dce016779863f15a0dde1feef1a071333ce209cf1861156b58c7c61bf14e3bd9d4f82d6c6347c72ef6b08f038c5ff6c4ff0738d44e8ef059f37ec157cdff0ddff5f763b857e34f71821ff8a9a38d0ebae8a18f04290618be113fd13db691a123404f447229a414f746fc3d0ec56be68e5418c9291239937399683f2f76ccbfd79aeb4263f7e552a67225d732d37123b7a85e8dd7bb923b99eb286481bedccb838ec7d76ec0ee6b03737992423b7916a7b9473a56e1644d73f957e23d0a59970dd99489769eebc94cebb344a5aba6ffecaa793f5e6b8c655df7782c5bb2cd18d9d13cbbb2a773fee57bd617ea7426977dd9f93ba3ea40d75886f7bc7fadbd90b156c9dfffbde8def774cdf6fbbf2f48bdf7fffdfbfdf3e3d25f9a24cea0</data>
446 <sender>fileNewAction</sender>
447 <signal>activated()</signal>
448 <receiver>BSAppBase</receiver>
449 <slot>fileNew()</slot>
452 <sender>fileOpenAction</sender>
453 <signal>activated()</signal>
454 <receiver>BSAppBase</receiver>
455 <slot>fileOpen()</slot>
458 <sender>fileSaveAction</sender>
459 <signal>activated()</signal>
460 <receiver>BSAppBase</receiver>
461 <slot>fileSave()</slot>
464 <sender>fileSaveAsAction</sender>
465 <signal>activated()</signal>
466 <receiver>BSAppBase</receiver>
467 <slot>fileSaveAs()</slot>
470 <sender>filePrintAction</sender>
471 <signal>activated()</signal>
472 <receiver>BSAppBase</receiver>
473 <slot>filePrint()</slot>
476 <sender>fileExitAction</sender>
477 <signal>activated()</signal>
478 <receiver>BSAppBase</receiver>
479 <slot>fileExit()</slot>
482 <sender>editUndoAction</sender>
483 <signal>activated()</signal>
484 <receiver>BSAppBase</receiver>
485 <slot>editUndo()</slot>
488 <sender>editRedoAction</sender>
489 <signal>activated()</signal>
490 <receiver>BSAppBase</receiver>
491 <slot>editRedo()</slot>
494 <sender>editCutAction</sender>
495 <signal>activated()</signal>
496 <receiver>BSAppBase</receiver>
497 <slot>editCut()</slot>
500 <sender>editPasteAction</sender>
501 <signal>activated()</signal>
502 <receiver>BSAppBase</receiver>
503 <slot>editPaste()</slot>
506 <sender>editFindAction</sender>
507 <signal>activated()</signal>
508 <receiver>BSAppBase</receiver>
509 <slot>editFind()</slot>
512 <sender>helpIndexAction</sender>
513 <signal>activated()</signal>
514 <receiver>BSAppBase</receiver>
515 <slot>helpIndex()</slot>
518 <sender>helpContentsAction</sender>
519 <signal>activated()</signal>
520 <receiver>BSAppBase</receiver>
521 <slot>helpContents()</slot>
524 <sender>helpAboutAction</sender>
525 <signal>activated()</signal>
526 <receiver>BSAppBase</receiver>
527 <slot>helpAbout()</slot>
530 <sender>battleNewAction</sender>
531 <signal>activated()</signal>
532 <receiver>BSAppBase</receiver>
533 <slot>battleNew()</slot>
536 <sender>battleSimulateAction</sender>
537 <signal>activated()</signal>
538 <receiver>BSAppBase</receiver>
539 <slot>battleSimulate()</slot>
542 <sender>oneTickCheck</sender>
543 <signal>toggled(bool)</signal>
544 <receiver>BSAppBase</receiver>
545 <slot>oneTickCheck_toggled(bool)</slot>
548 <sender>resultModeCombo</sender>
549 <signal>activated(int)</signal>
550 <receiver>BSAppBase</receiver>
551 <slot>resultModeCombo_activated(int)</slot>
554 <sender>minTickSpin</sender>
555 <signal>valueChanged(int)</signal>
556 <receiver>BSAppBase</receiver>
557 <slot>slotTicksChanged(int)</slot>
560 <sender>minTickSpin</sender>
561 <signal>valueChanged(int)</signal>
562 <receiver>BSAppBase</receiver>
563 <slot>minTickSpin_valueChanged(int)</slot>
566 <sender>maxTickSpin</sender>
567 <signal>valueChanged(int)</signal>
568 <receiver>BSAppBase</receiver>
569 <slot>slotTicksChanged(int)</slot>
572 <sender>maxTickSpin</sender>
573 <signal>valueChanged(int)</signal>
574 <receiver>BSAppBase</receiver>
575 <slot>maxTickSpin_valueChanged(int)</slot>
579 <include location="global" impldecl="in implementation">qapplication.h</include>
580 <include location="local" impldecl="in implementation">../bsdoc.h</include>
581 <include location="local" impldecl="in implementation">../bsview.h</include>
582 <include location="global" impldecl="in implementation">qinputdialog.h</include>
583 <include location="local" impldecl="in implementation">../bsconf.h</include>
584 <include location="local" impldecl="in implementation">bsappbase.ui.h</include>
587 <forward>class BSConf</forward>
588 <forward>class BSView</forward>
589 <forward>class BSDoc</forward>
592 <variable>BSConf* conf</variable>
593 <variable>BSView* view</variable>
594 <variable>BSDoc* doc</variable>
597 <signal>ticksChanged(int, int);</signal>
598 <signal>resultModeChanged(int);</signal>
601 <slot>fileNew()</slot>
602 <slot>fileOpen()</slot>
603 <slot>fileSave()</slot>
604 <slot>fileSaveAs()</slot>
605 <slot>filePrint()</slot>
606 <slot>fileExit()</slot>
607 <slot>editUndo()</slot>
608 <slot>editRedo()</slot>
609 <slot>editCut()</slot>
611 <slot>editPaste()</slot>
612 <slot>editFind()</slot>
613 <slot>helpIndex()</slot>
614 <slot>helpContents()</slot>
615 <slot>helpAbout()</slot>
616 <slot>battleNew()</slot>
617 <slot>battleSimulate()</slot>
618 <slot>oneTickCheck_toggled( bool b )</slot>
619 <slot>minTickSpin_valueChanged( int i )</slot>
620 <slot>maxTickSpin_valueChanged( int i )</slot>
621 <slot>slotTicksChanged( int i )</slot>
622 <slot>resultModeCombo_activated( int i )</slot>
624 <layoutdefaults spacing="6" margin="11"/>