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>IconsPreviewDialog</class> <widget class="QDialog" name="IconsPreviewDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>596</width> <height>541</height> </rect> </property> <property name="windowTitle"> <string>Icons Preview</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="label"> <property name="text"> <string>Directory:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="directoryCombo"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the icons directory to be shown</string> </property> </widget> </item> </layout> </item> <item> <widget class="QListWidget" name="iconView"> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> <property name="movement"> <enum>QListView::Free</enum> </property> <property name="flow"> <enum>QListView::LeftToRight</enum> </property> <property name="gridSize"> <size> <width>100</width> <height>50</height> </size> </property> <property name="viewMode"> <enum>QListView::IconMode</enum> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QPushButton" name="invertButton"> <property name="toolTip"> <string>Select to invert the background color</string> </property> <property name="text"> <string>Invert Background</string> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="refreshButton"> <property name="toolTip"> <string>Select to refresh the icons display</string> </property> <property name="text"> <string>Refresh</string> </property> </widget> </item> <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> <tabstops> <tabstop>directoryCombo</tabstop> <tabstop>iconView</tabstop> <tabstop>invertButton</tabstop> <tabstop>refreshButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>IconsPreviewDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>482</x> <y>520</y> </hint> <hint type="destinationlabel"> <x>389</x> <y>539</y> </hint> </hints> </connection> </connections> </ui>