Mercurial > hg > Feedworm
changeset 208:a2552f1e450e
display the feed's URL on the feed settings dialog
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 01 Jun 2012 17:29:43 +0200 |
parents | 4cb22b47b659 |
children | a683c65d324d |
files | FeedSettings.py Ui_FeedSettings.ui |
diffstat | 2 files changed, 81 insertions(+), 53 deletions(-) [+] |
line wrap: on
line diff
--- a/FeedSettings.py Tue Apr 03 05:35:13 2012 +0200 +++ b/FeedSettings.py Fri Jun 01 17:29:43 2012 +0200 @@ -17,6 +17,7 @@ self.initUi() def initUi(self): + self.ui.urlLabel.setText(self.feed.rss_url) self.ui.feedTitle.setText(self.feed.title) self.ui.updateInterval.setText(str(self.feed.update_interval)) self.ui.autoLoadArticle.setChecked(self.feed.auto_load_entry_link)
--- a/Ui_FeedSettings.ui Tue Apr 03 05:35:13 2012 +0200 +++ b/Ui_FeedSettings.ui Fri Jun 01 17:29:43 2012 +0200 @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>400</width> - <height>178</height> + <width>474</width> + <height>222</height> </rect> </property> <property name="windowTitle"> @@ -21,7 +21,7 @@ <property name="geometry"> <rect> <x>20</x> - <y>135</y> + <y>180</y> <width>341</width> <height>32</height> </rect> @@ -37,8 +37,8 @@ <property name="geometry"> <rect> <x>10</x> - <y>80</y> - <width>331</width> + <y>110</y> + <width>361</width> <height>22</height> </rect> </property> @@ -46,35 +46,12 @@ <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>10</x> - <y>14</y> - <width>26</width> - <height>17</height> - </rect> - </property> - <property name="text"> - <string>Title</string> - </property> - </widget> <widget class="QCheckBox" name="alwaysOpenInBrowser"> <property name="geometry"> <rect> <x>10</x> - <y>105</y> - <width>371</width> + <y>140</y> + <width>410</width> <height>22</height> </rect> </property> @@ -82,41 +59,91 @@ <string>when loading article's url, always use external browser</string> </property> </widget> - <widget class="QLabel" name="label_2"> + <widget class="QLabel" name="label_4"> <property name="geometry"> <rect> - <x>10</x> - <y>50</y> - <width>91</width> - <height>17</height> + <x>11</x> + <y>11</y> + <width>28</width> + <height>16</height> + </rect> + </property> + <property name="maximumSize"> + <size> + <width>35</width> + <height>16777215</height> + </size> + </property> + <property name="text"> + <string>URL</string> + </property> + </widget> + <widget class="QLabel" name="urlLabel"> + <property name="geometry"> + <rect> + <x>52</x> + <y>11</y> + <width>358</width> + <height>16</height> </rect> </property> <property name="text"> - <string>Update every</string> + <string/> </property> - </widget> - <widget class="QLineEdit" name="updateInterval"> - <property name="geometry"> - <rect> - <x>105</x> - <y>45</y> - <width>46</width> - <height>23</height> - </rect> + <property name="textInteractionFlags"> + <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set> </property> </widget> - <widget class="QLabel" name="label_3"> + <widget class="QWidget" name=""> + <property name="geometry"> + <rect> + <x>10</x> + <y>30</y> + <width>401</width> + <height>28</height> + </rect> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Title</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="feedTitle"/> + </item> + </layout> + </widget> + <widget class="QWidget" name=""> <property name="geometry"> <rect> - <x>160</x> - <y>50</y> - <width>61</width> - <height>17</height> + <x>10</x> + <y>70</y> + <width>221</width> + <height>28</height> </rect> </property> - <property name="text"> - <string>minutes</string> - </property> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Update every</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="updateInterval"/> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>minutes</string> + </property> + </widget> + </item> + </layout> </widget> </widget> <resources>