Added "About"
[vexed] / mainwindow.ui
index e0ab734..8fda48f 100644 (file)
     </property>
     <addaction name="actionhowtoplay"/>
    </widget>
+   <widget class="QMenu" name="menuAbout">
+    <property name="title">
+     <string>About</string>
+    </property>
+    <addaction name="actionAbout"/>
+   </widget>
    <addaction name="menuLevel_Pack"/>
    <addaction name="menuHow_to_Play"/>
+   <addaction name="menuAbout"/>
   </widget>
   <action name="actionLevel">
    <property name="text">
     <string>How to play</string>
    </property>
   </action>
+  <action name="actionAbout">
+   <property name="text">
+    <string>About</string>
+   </property>
+  </action>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <customwidgets>
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>actionAbout</sender>
+   <signal>triggered()</signal>
+   <receiver>MainWindow</receiver>
+   <slot>about()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>388</x>
+     <y>239</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>loadNextLevel()</slot>
   <slot>howToPlay()</slot>
   <slot>reorient()</slot>
   <slot>solved(int)</slot>
+  <slot>about()</slot>
  </slots>
 </ui>