diff MainWindow.ui @ 249:5695197a3ca5

Add an about Qt help menu item
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 09 Jun 2016 05:19:03 +0200
parents a34cb404cef3
children 3ce39af93e77
line wrap: on
line diff
--- a/MainWindow.ui	Thu Jun 09 05:09:06 2016 +0200
+++ b/MainWindow.ui	Thu Jun 09 05:19:03 2016 +0200
@@ -24,7 +24,7 @@
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
-      <widget class="QWidget" name="">
+      <widget class="QWidget" name="layoutWidget">
        <layout class="QVBoxLayout" name="verticalLayout">
         <item>
          <widget class="QLabel" name="feedCountLabel">
@@ -60,7 +60,7 @@
        <property name="orientation">
         <enum>Qt::Vertical</enum>
        </property>
-       <widget class="QWidget" name="">
+       <widget class="QWidget" name="layoutWidget">
         <layout class="QVBoxLayout" name="verticalLayout_2">
          <item>
           <widget class="QLabel" name="feedEntryCountLabel">
@@ -151,9 +151,16 @@
     <addaction name="separator"/>
     <addaction name="actionQuit"/>
    </widget>
+   <widget class="QMenu" name="menuHelp">
+    <property name="title">
+     <string>Help</string>
+    </property>
+    <addaction name="actionAboutQt"/>
+   </widget>
    <addaction name="menuFeedworm"/>
    <addaction name="menuFeed"/>
    <addaction name="menuArticle"/>
+   <addaction name="menuHelp"/>
   </widget>
   <widget class="QStatusBar" name="statusbar"/>
   <widget class="QToolBar" name="toolBar">
@@ -334,6 +341,11 @@
     <string>Zoom Out</string>
    </property>
   </action>
+  <action name="actionAboutQt">
+   <property name="text">
+    <string>About Qt</string>
+   </property>
+  </action>
  </widget>
  <customwidgets>
   <customwidget>
@@ -602,6 +614,22 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>actionAboutQt</sender>
+   <signal>activated()</signal>
+   <receiver>MainWindow</receiver>
+   <slot>aboutQtClicked()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>495</x>
+     <y>374</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>addFeed()</slot>
@@ -619,5 +647,6 @@
   <slot>copyArticleURLToClipboard()</slot>
   <slot>zoomIn()</slot>
   <slot>zoomOut()</slot>
+  <slot>aboutQtClicked()</slot>
  </slots>
 </ui>