</rect>
</property>
<property name="caption">
- <string>Form1</string>
+ <string>Harvalen's Battlesystem</string>
</property>
</widget>
<menubar>
<x>0</x>
<y>0</y>
<width>726</width>
- <height>30</height>
+ <height>26</height>
</rect>
</property>
<item text="&File" name="fileMenu">
<action name="fileOpenAction"/>
<action name="fileSaveAction"/>
<action name="fileSaveAsAction"/>
- <action name="KulSak"/>
<separator/>
<action name="filePrintAction"/>
<separator/>
<separator/>
<action name="editFindAction"/>
</item>
+ <item text="Battle" name="PopupMenu">
+ <action name="battleNewAction"/>
+ <action name="battleSimulateAction"/>
+ </item>
<item text="&Help" name="helpMenu">
<action name="helpContentsAction"/>
<action name="helpIndexAction"/>
<string>&New</string>
</property>
<property name="accel">
- <number>4194382</number>
+ <number>0</number>
</property>
</action>
<action>
</action>
<action>
<property name="name">
- <cstring>KulSak</cstring>
+ <cstring>battleNewAction</cstring>
</property>
<property name="text">
- <string>Kul sak</string>
+ <string>New</string>
+ </property>
+ <property name="toolTip">
+ <string>Create what's needed to add fleets to a battle</string>
+ </property>
+ <property name="statusTip">
+ <string>Create a new battle with initial groups and home planet</string>
</property>
<property name="accel">
- <number>0</number>
+ <number>4194382</number>
+ </property>
+ </action>
+ <action>
+ <property name="name">
+ <cstring>battleSimulateAction</cstring>
+ </property>
+ <property name="text">
+ <string>Run Simulate Battle</string>
+ </property>
+ <property name="accel">
+ <number>4194386</number>
</property>
</action>
</actions>
<receiver>BSAppBase</receiver>
<slot>editCut()</slot>
</connection>
- <connection>
- <sender>editCopyAction</sender>
- <signal>activated()</signal>
- <receiver>BSAppBase</receiver>
- <slot>editCopy()</slot>
- </connection>
<connection>
<sender>editPasteAction</sender>
<signal>activated()</signal>
<receiver>BSAppBase</receiver>
<slot>helpAbout()</slot>
</connection>
+ <connection>
+ <sender>battleNewAction</sender>
+ <signal>activated()</signal>
+ <receiver>BSAppBase</receiver>
+ <slot>battleNew()</slot>
+ </connection>
+ <connection>
+ <sender>battleSimulateAction</sender>
+ <signal>activated()</signal>
+ <receiver>BSAppBase</receiver>
+ <slot>battleSimulate()</slot>
+ </connection>
</connections>
<includes>
+ <include location="global" impldecl="in implementation">qapplication.h</include>
+ <include location="local" impldecl="in implementation">../bsdoc.h</include>
+ <include location="local" impldecl="in implementation">../bsview.h</include>
+ <include location="global" impldecl="in implementation">qinputdialog.h</include>
+ <include location="local" impldecl="in implementation">../bsconf.h</include>
<include location="local" impldecl="in implementation">bsappbase.ui.h</include>
</includes>
+<forwards>
+ <forward>class BSConf</forward>
+ <forward>class BSView</forward>
+ <forward>class BSDoc</forward>
+</forwards>
+<variables>
+ <variable>BSConf* conf</variable>
+ <variable>BSView* view</variable>
+ <variable>BSDoc* doc</variable>
+</variables>
<slots>
<slot>fileNew()</slot>
<slot>fileOpen()</slot>
<slot>editUndo()</slot>
<slot>editRedo()</slot>
<slot>editCut()</slot>
- <slot>editCopy()</slot>
+ <slot>init()</slot>
<slot>editPaste()</slot>
<slot>editFind()</slot>
<slot>helpIndex()</slot>
<slot>helpContents()</slot>
<slot>helpAbout()</slot>
+ <slot>battleNew()</slot>
+ <slot>battleSimulate()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>