Mercurial > hg > Feedworm
view Ui_FeedSettings.ui @ 150:babe14449162
the entries for the selected feeds had to be set onto the item delegate so had access to the selected feed entry. Keep the list in one place only (the model) and access it from the item delegate.
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sat, 27 Aug 2011 06:43:28 +0200 |
parents | d11c3f71ac40 |
children | a2552f1e450e |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>FeedSettings</class> <widget class="QDialog" name="FeedSettings"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>400</width> <height>178</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <property name="windowIcon"> <iconset resource="Feedworm.qrc"> <normaloff>:/newPrefix/worm.png</normaloff>:/newPrefix/worm.png</iconset> </property> <widget class="QDialogButtonBox" name="buttonBox"> <property name="geometry"> <rect> <x>20</x> <y>135</y> <width>341</width> <height>32</height> </rect> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> <widget class="QCheckBox" name="autoLoadArticle"> <property name="geometry"> <rect> <x>10</x> <y>80</y> <width>331</width> <height>22</height> </rect> </property> <property name="text"> <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> <height>22</height> </rect> </property> <property name="text"> <string>when loading article's url, always use external browser</string> </property> </widget> <widget class="QLabel" name="label_2"> <property name="geometry"> <rect> <x>10</x> <y>50</y> <width>91</width> <height>17</height> </rect> </property> <property name="text"> <string>Update every</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> </widget> <widget class="QLabel" name="label_3"> <property name="geometry"> <rect> <x>160</x> <y>50</y> <width>61</width> <height>17</height> </rect> </property> <property name="text"> <string>minutes</string> </property> </widget> </widget> <resources> <include location="Feedworm.qrc"/> </resources> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>FeedSettings</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>FeedSettings</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>autoLoadArticle</sender> <signal>stateChanged(int)</signal> <receiver>FeedSettings</receiver> <slot>autoLoadArticleChanged()</slot> <hints> <hint type="sourcelabel"> <x>175</x> <y>20</y> </hint> <hint type="destinationlabel"> <x>199</x> <y>149</y> </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> <connection> <sender>alwaysOpenInBrowser</sender> <signal>stateChanged(int)</signal> <receiver>FeedSettings</receiver> <slot>alwaysOpenInExternalBrowser()</slot> <hints> <hint type="sourcelabel"> <x>195</x> <y>80</y> </hint> <hint type="destinationlabel"> <x>199</x> <y>69</y> </hint> </hints> </connection> <connection> <sender>updateInterval</sender> <signal>editingFinished()</signal> <receiver>FeedSettings</receiver> <slot>editingUpdateIntervalFinished()</slot> <hints> <hint type="sourcelabel"> <x>127</x> <y>56</y> </hint> <hint type="destinationlabel"> <x>199</x> <y>88</y> </hint> </hints> </connection> </connections> <slots> <slot>autoLoadArticleChanged()</slot> <slot>editingTitleFinished()</slot> <slot>alwaysOpenInExternalBrowser()</slot> <slot>editingUpdateIntervalFinished()</slot> </slots> </ui>