Mercurial > hg > Feedworm
view Ui_AddFeed.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 | 8eee0e671696 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>AddFeed</class> <widget class="QDialog" name="AddFeed"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>557</width> <height>108</height> </rect> </property> <property name="windowTitle"> <string>Add Feed</string> </property> <property name="windowIcon"> <iconset resource="Feedworm.qrc"> <normaloff>:/newPrefix/worm.png</normaloff>:/newPrefix/worm.png</iconset> </property> <property name="modal"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> <item row="2" column="1"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="url"/> </item> <item row="1" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Feed URL</string> </property> </widget> </item> </layout> </widget> <tabstops> <tabstop>url</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources> <include location="Feedworm.qrc"/> </resources> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>AddFeed</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>AddFeed</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> </connections> </ui>