--- a/eric6/Preferences/ConfigurationPages/IconsPreviewDialog.ui Fri Apr 10 15:18:58 2020 +0200 +++ b/eric6/Preferences/ConfigurationPages/IconsPreviewDialog.ui Fri Apr 10 19:27:51 2020 +0200 @@ -1,7 +1,8 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>IconsPreviewDialog</class> - <widget class="QDialog" name="IconsPreviewDialog" > - <property name="geometry" > + <widget class="QDialog" name="IconsPreviewDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -9,62 +10,132 @@ <height>541</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Icons Preview</string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" > + <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QListWidget" name="iconView" > - <property name="movement" > + <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" > + <property name="flow"> <enum>QListView::LeftToRight</enum> </property> - <property name="gridSize" > + <property name="gridSize"> <size> <width>100</width> <height>50</height> </size> </property> - <property name="viewMode" > + <property name="viewMode"> <enum>QListView::IconMode</enum> </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> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QPushButton" name="invertButton"> + <property name="toolTip"> + <string>Select to invert the background colour</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>accepted()</signal> + <signal>rejected()</signal> <receiver>IconsPreviewDialog</receiver> - <slot>accept()</slot> + <slot>reject()</slot> <hints> - <hint type="sourcelabel" > - <x>155</x> - <y>519</y> + <hint type="sourcelabel"> + <x>482</x> + <y>520</y> </hint> - <hint type="destinationlabel" > - <x>161</x> - <y>538</y> + <hint type="destinationlabel"> + <x>389</x> + <y>539</y> </hint> </hints> </connection>