diff Ui_Preferences.ui @ 61:db35ab7753f0

add a preference to hide read feed entries
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 24 Jul 2010 03:11:06 +0200
parents 9fa1e33b67da
children e8c2730eb444
line wrap: on
line diff
--- a/Ui_Preferences.ui	Fri Jul 23 17:41:05 2010 +0200
+++ b/Ui_Preferences.ui	Sat Jul 24 03:11:06 2010 +0200
@@ -46,6 +46,19 @@
     <string>Start maximized</string>
    </property>
   </widget>
+  <widget class="QCheckBox" name="hideReadFeedEntries">
+   <property name="geometry">
+    <rect>
+     <x>10</x>
+     <y>40</y>
+     <width>171</width>
+     <height>22</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Hide read feed entries</string>
+   </property>
+  </widget>
  </widget>
  <resources>
   <include location="Feedworm.qrc"/>
@@ -99,8 +112,25 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>hideReadFeedEntries</sender>
+   <signal>stateChanged(int)</signal>
+   <receiver>Preferences</receiver>
+   <slot>hideReadFeedEntriesChanged()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>95</x>
+     <y>50</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>199</x>
+     <y>149</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>startMaximizedChanged()</slot>
+  <slot>hideReadFeedEntriesChanged()</slot>
  </slots>
 </ui>