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>ProtocolHandlerManagerDialog</class> <widget class="QDialog" name="ProtocolHandlerManagerDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>500</width> <height>400</height> </rect> </property> <property name="windowTitle"> <string>Protocol Handlers</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QTreeWidget" name="protocolHandlersList"> <property name="toolTip"> <string>Shows a list of registered protocol handlers</string> </property> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="rootIsDecorated"> <bool>false</bool> </property> <column> <property name="text"> <string>Scheme</string> </property> </column> <column> <property name="text"> <string>URL</string> </property> </column> </widget> </item> <item row="0" column="1"> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QPushButton" name="deleteButton"> <property name="toolTip"> <string>Press to delete the protocol handler</string> </property> <property name="text"> <string>Delete</string> </property> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> <item row="1" column="0" colspan="2"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>ProtocolHandlerManagerDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>340</x> <y>361</y> </hint> <hint type="destinationlabel"> <x>378</x> <y>293</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>ProtocolHandlerManagerDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>186</x> <y>366</y> </hint> <hint type="destinationlabel"> <x>201</x> <y>307</y> </hint> </hints> </connection> </connections> </ui>