diff Ui_FeedSettings.ui @ 52:6bc6899f3330

allow changing a feed's title
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 18 May 2010 02:56:02 +0200
parents 8eee0e671696
children d292ab61ed6f
line wrap: on
line diff
--- a/Ui_FeedSettings.ui	Tue May 18 02:32:33 2010 +0200
+++ b/Ui_FeedSettings.ui	Tue May 18 02:56:02 2010 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>400</width>
-    <height>300</height>
+    <height>126</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -20,8 +20,8 @@
   <widget class="QDialogButtonBox" name="buttonBox">
    <property name="geometry">
     <rect>
-     <x>30</x>
-     <y>240</y>
+     <x>20</x>
+     <y>80</y>
      <width>341</width>
      <height>32</height>
     </rect>
@@ -37,7 +37,7 @@
    <property name="geometry">
     <rect>
      <x>10</x>
-     <y>10</y>
+     <y>40</y>
      <width>331</width>
      <height>22</height>
     </rect>
@@ -46,6 +46,29 @@
     <string>load article's url  instead of displaying summary</string>
    </property>
   </widget>
+  <widget class="QLineEdit" name="feedTitle">
+   <property name="geometry">
+    <rect>
+     <x>42</x>
+     <y>10</y>
+     <width>341</width>
+     <height>23</height>
+    </rect>
+   </property>
+  </widget>
+  <widget class="QLabel" name="label">
+   <property name="geometry">
+    <rect>
+     <x>11</x>
+     <y>11</y>
+     <width>26</width>
+     <height>17</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Title</string>
+   </property>
+  </widget>
  </widget>
  <resources>
   <include location="Feedworm.qrc"/>
@@ -99,8 +122,25 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>feedTitle</sender>
+   <signal>editingFinished()</signal>
+   <receiver>FeedSettings</receiver>
+   <slot>editingTitleFinished()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>212</x>
+     <y>21</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>199</x>
+     <y>62</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>autoLoadArticleChanged()</slot>
+  <slot>editingTitleFinished()</slot>
  </slots>
 </ui>