diff Ui_MainWindow.ui @ 40:c858aab71e5b

add preferences dialog
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 14 May 2010 07:05:02 +0200
parents 0c2578196643
children 9fa1e33b67da
line wrap: on
line diff
--- a/Ui_MainWindow.ui	Fri May 14 06:48:48 2010 +0200
+++ b/Ui_MainWindow.ui	Fri May 14 07:05:02 2010 +0200
@@ -15,7 +15,7 @@
   </property>
   <property name="windowIcon">
    <iconset>
-    <normaloff>worm.png</normaloff>worm.png</iconset>
+    <normaloff>../../../.designer/backup/worm.png</normaloff>../../../.designer/backup/worm.png</iconset>
   </property>
   <widget class="QWidget" name="centralwidget">
    <layout class="QGridLayout" name="gridLayout">
@@ -136,11 +136,14 @@
   </action>
   <action name="actionPreferences">
    <property name="enabled">
-    <bool>false</bool>
+    <bool>true</bool>
    </property>
    <property name="text">
     <string>Preferences</string>
    </property>
+   <property name="shortcut">
+    <string>Ctrl+.</string>
+   </property>
   </action>
   <action name="actionFeedSettings">
    <property name="enabled">
@@ -272,6 +275,22 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>actionPreferences</sender>
+   <signal>activated()</signal>
+   <receiver>MainWindow</receiver>
+   <slot>showPreferences()</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>
@@ -280,5 +299,6 @@
   <slot>toggleReadOnSelectedEntry()</slot>
   <slot>openSelectedEntryInBrowser()</slot>
   <slot>openLinkFromSelectedEntry()</slot>
+  <slot>showPreferences()</slot>
  </slots>
 </ui>