]> ruin.nu Git - hbs.git/blobdiff - bs/ui/bsappbase.ui
adding, removing and chaning fleets now works.
[hbs.git] / bs / ui / bsappbase.ui
index e6baafab460f1bbf2755bb49acf2fe3375db9c48..ed97f11419cc03ac1adc535d6e9c8ced7c193dc2 100644 (file)
@@ -25,7 +25,7 @@
             <x>0</x>
             <y>0</y>
             <width>726</width>
-            <height>29</height>
+            <height>26</height>
         </rect>
     </property>
     <item text="&amp;File" name="fileMenu">
@@ -50,6 +50,7 @@
     </item>
     <item text="Battle" name="PopupMenu">
         <action name="battleNewAction"/>
+        <action name="battleSimulateAction"/>
     </item>
     <item text="&amp;Help" name="helpMenu">
         <action name="helpContentsAction"/>
             <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>
 <images>
     <image name="image0">
         <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="local" impldecl="in implementation">../bsconf.h</include>
-    <include location="global" impldecl="in implementation">qinputdialog.h</include>
-    <include location="local" impldecl="in implementation">../bsview.h</include>
+    <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>
     <slot>helpContents()</slot>
     <slot>helpAbout()</slot>
     <slot>battleNew()</slot>
+    <slot>battleSimulate()</slot>
 </slots>
 <layoutdefaults spacing="6" margin="11"/>
 </UI>