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>GreaseMonkeyConfigurationDialog</class> <widget class="QDialog" name="GreaseMonkeyConfigurationDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>550</width> <height>450</height> </rect> </property> <property name="windowTitle"> <string>GreaseMonkey Scripts Configuration</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <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="QLabel" name="iconLabel"> <property name="minimumSize"> <size> <width>48</width> <height>48</height> </size> </property> <property name="text"> <string notr="true">Icon</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_2"> <property name="text"> <string><h2>GreaseMonkey Scripts</h2></string> </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> <widget class="QLabel" name="label_4"> <property name="text"> <string>Double clicking script will show additional information.</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item> <widget class="GreaseMonkeyConfigurationListWidget" name="scriptsList"> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="verticalScrollMode"> <enum>QAbstractItemView::ScrollPerPixel</enum> </property> <property name="uniformItemSizes"> <bool>true</bool> </property> <property name="selectionRectVisible"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QLabel" name="downloadLabel"> <property name="text"> <string><p>Get more scripts from <a href="https://greasyfork.org/">greasyfork.org</a> or via <a href="http://wiki.greasespot.net/User_Script_Hosting">Greasespot Wiki.</a></p></string> </property> <property name="textFormat"> <enum>Qt::RichText</enum> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> <property name="textInteractionFlags"> <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="QPushButton" name="openDirectoryButton"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Press to open the scripts directory</string> </property> <property name="text"> <string>Open Scripts Directory</string> </property> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </item> </layout> </widget> <customwidgets> <customwidget> <class>GreaseMonkeyConfigurationListWidget</class> <extends>QListWidget</extends> <header>.GreaseMonkeyConfigurationListWidget.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>scriptsList</tabstop> <tabstop>openDirectoryButton</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>GreaseMonkeyConfigurationDialog</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>GreaseMonkeyConfigurationDialog</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>