added "Quit" to "File" menu
authorpavelpa <pavelpa@localhost>
Mon, 18 Jan 2010 07:59:24 +0000 (07:59 +0000)
committerpavelpa <pavelpa@localhost>
Mon, 18 Jan 2010 07:59:24 +0000 (07:59 +0000)
src/gui/mainwindow.ui

index 016ab34..9eca6c3 100644 (file)
@@ -78,7 +78,7 @@
      <x>0</x>
      <y>0</y>
      <width>534</width>
-     <height>22</height>
+     <height>26</height>
     </rect>
    </property>
    <widget class="QMenu" name="menuFile" >
@@ -86,6 +86,7 @@
      <string>File</string>
     </property>
     <addaction name="actionImportSchedule" />
+    <addaction name="actionQuit" />
    </widget>
    <widget class="QMenu" name="menuAbout" >
     <property name="title" >
     <string>About application</string>
    </property>
   </action>
+  <action name="actionQuit" >
+   <property name="text" >
+    <string>Quit</string>
+   </property>
+  </action>
  </widget>
  <customwidgets>
   <customwidget>
   </customwidget>
  </customwidgets>
  <resources/>
- <connections/>
+ <connections>
+  <connection>
+   <sender>actionQuit</sender>
+   <signal>triggered()</signal>
+   <receiver>MainWindow</receiver>
+   <slot>close()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>266</x>
+     <y>187</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>