Mon, 07 Nov 2022 17:19:58 +0100
Corrected/acknowledged some bad import style and removed some obsolete code.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>DownloadManager</class> <widget class="QDialog" name="DownloadManager"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>400</height> </rect> </property> <property name="windowTitle"> <string>Download Manager</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0" colspan="3"> <widget class="EricTableView" name="downloadsView"/> </item> <item row="1" column="0"> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QPushButton" name="cleanupButton"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Press to clean up the list of downloads</string> </property> <property name="text"> <string>Clear List</string> </property> <property name="autoDefault"> <bool>false</bool> </property> </widget> </item> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item row="1" column="1"> <widget class="QLabel" name="infoLabel"> <property name="text"> <string/> </property> </widget> </item> <item row="1" column="2"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </item> </layout> </widget> <customwidgets> <customwidget> <class>EricTableView</class> <extends>QTableView</extends> <header>eric7/EricWidgets/EricTableView.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>downloadsView</tabstop> <tabstop>cleanupButton</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>DownloadManager</receiver> <slot>close()</slot> <hints> <hint type="sourcelabel"> <x>330</x> <y>274</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>294</y> </hint> </hints> </connection> </connections> </ui>