Added menu item "quit".
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 21 Jun 2011 20:52:23 +0000 (20:52 +0000)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 21 Jun 2011 20:52:23 +0000 (20:52 +0000)
src/gui/mainwindow.ui

index d914ee9..2c3db45 100644 (file)
      <x>0</x>
      <y>0</y>
      <width>903</width>
-     <height>25</height>
+     <height>23</height>
     </rect>
    </property>
    <widget class="QMenu" name="menuMenu">
     <addaction name="settingsAction"/>
     <addaction name="aboutAction"/>
     <addaction name="conferencesAction"/>
+    <addaction name="quitAction"/>
    </widget>
    <addaction name="menuMenu"/>
   </widget>
     <string>Conferences</string>
    </property>
   </action>
+  <action name="quitAction">
+   <property name="text">
+    <string>&amp;Quit</string>
+   </property>
+  </action>
  </widget>
  <customwidgets>
   <customwidget>
  <resources>
   <include location="../icons.qrc"/>
  </resources>
- <connections/>
+ <connections>
+  <connection>
+   <sender>quitAction</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>451</x>
+     <y>248</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>