diff Ui_Preferences.ui @ 111:c17a224bc251

make the keep interval for feeds configurable via the GUI. Fix saving the proxy settings
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 31 Mar 2011 03:15:39 +0200
parents 48d1d7bba548
children 2c91b5653878
line wrap: on
line diff
--- a/Ui_Preferences.ui	Wed Mar 30 02:59:22 2011 +0200
+++ b/Ui_Preferences.ui	Thu Mar 31 03:15:39 2011 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>390</width>
-    <height>247</height>
+    <height>277</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -21,7 +21,7 @@
    <property name="geometry">
     <rect>
      <x>10</x>
-     <y>210</y>
+     <y>240</y>
      <width>160</width>
      <height>27</height>
     </rect>
@@ -84,7 +84,7 @@
    <property name="title">
     <string>Web Proxy</string>
    </property>
-   <widget class="QWidget" name="">
+   <widget class="QWidget" name="layoutWidget">
     <property name="geometry">
      <rect>
       <x>6</x>
@@ -117,6 +117,45 @@
     </layout>
    </widget>
   </widget>
+  <widget class="QLabel" name="label_3">
+   <property name="geometry">
+    <rect>
+     <x>11</x>
+     <y>205</y>
+     <width>136</width>
+     <height>17</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Keep feed entries for </string>
+   </property>
+  </widget>
+  <widget class="QLineEdit" name="daysToKeepFeedEntries">
+   <property name="geometry">
+    <rect>
+     <x>150</x>
+     <y>200</y>
+     <width>31</width>
+     <height>23</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string/>
+   </property>
+  </widget>
+  <widget class="QLabel" name="label_4">
+   <property name="geometry">
+    <rect>
+     <x>190</x>
+     <y>205</y>
+     <width>31</width>
+     <height>17</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>days</string>
+   </property>
+  </widget>
  </widget>
  <resources>
   <include location="Feedworm.qrc"/>
@@ -202,10 +241,27 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>daysToKeepFeedEntries</sender>
+   <signal>editingFinished()</signal>
+   <receiver>Preferences</receiver>
+   <slot>daysToKeepFeedEntriesFinishedEditing()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>165</x>
+     <y>211</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>194</x>
+     <y>138</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>startMaximizedChanged()</slot>
   <slot>hideReadFeedEntriesChanged()</slot>
   <slot>showOnlyFeedsWithUnreadEntries()</slot>
+  <slot>daysToKeepFeedEntriesFinishedEditing()</slot>
  </slots>
 </ui>