--- a/eric6/Preferences/ConfigurationPages/IconsPage.ui Fri Apr 10 15:18:58 2020 +0200 +++ b/eric6/Preferences/ConfigurationPages/IconsPage.ui Fri Apr 10 19:27:51 2020 +0200 @@ -6,19 +6,19 @@ <rect> <x>0</x> <y>0</y> - <width>539</width> - <height>371</height> + <width>591</width> + <height>453</height> </rect> </property> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0" colspan="2"> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> <widget class="QLabel" name="headerLabel"> <property name="text"> <string><b>Configure icon directories</b></string> </property> </widget> </item> - <item row="1" column="0" colspan="2"> + <item> <widget class="Line" name="line10"> <property name="frameShape"> <enum>QFrame::HLine</enum> @@ -31,130 +31,235 @@ </property> </widget> </item> - <item row="2" column="0" colspan="2"> + <item> <widget class="QLabel" name="TextLabel1_2_2_2_2"> <property name="text"> <string><font color="#FF0000"><b>Note:</b> These settings are activated at the next startup of the application.</font></string> </property> </widget> </item> - <item row="3" column="0"> - <widget class="QListWidget" name="iconDirectoryList"> - <property name="toolTip"> - <string>List of icon directories</string> + <item> + <widget class="QGroupBox" name="groupBox_2"> + <property name="title"> + <string>Default Icons</string> </property> - <property name="alternatingRowColors"> - <bool>true</bool> - </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QRadioButton" name="defaultAutomaticButton"> + <property name="toolTip"> + <string>Select to select between Breeze (dark) and Breeze (light) based on the window lightness</string> + </property> + <property name="text"> + <string>Automatic</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="defaultBreezeLightButton"> + <property name="toolTip"> + <string>Select to use the Breeze vector icons for light window background</string> + </property> + <property name="text"> + <string>Breeze (light)</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="defaultBreezeDarkButton"> + <property name="toolTip"> + <string>Select to use the Breeze vector icons for dark window background</string> + </property> + <property name="text"> + <string>Breeze (dark)</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="defaultOxygenButton"> + <property name="toolTip"> + <string>Select to use the Oxygen pixmap icons</string> + </property> + <property name="text"> + <string>Oxygen</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <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="QPushButton" name="showDefaultIconsButton"> + <property name="toolTip"> + <string>Press to show a dialog with a preview of the selected default icon set</string> + </property> + <property name="text"> + <string>Show</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> + </layout> </widget> </item> - <item row="3" column="1"> - <layout class="QVBoxLayout"> - <item> - <spacer> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>209</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="upButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="text"> - <string>Up</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="downButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="text"> - <string>Down</string> - </property> - </widget> - </item> - <item> - <spacer> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>170</height> - </size> - </property> - </spacer> - </item> - </layout> - </item> - <item row="4" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QPushButton" name="deleteIconDirectoryButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string>Press to delete the selected directory from the list</string> - </property> - <property name="text"> - <string>Delete</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="addIconDirectoryButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string>Press to add the entered directory to the list</string> - </property> - <property name="text"> - <string>Add</string> - </property> - </widget> - </item> - <item> - <widget class="E5PathPicker" name="iconDirectoryPicker" native="true"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::StrongFocus</enum> - </property> - </widget> - </item> - </layout> - </item> - <item row="4" column="1"> - <widget class="QPushButton" name="showIconsButton"> - <property name="enabled"> - <bool>false</bool> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Custom Icon Directories</string> </property> - <property name="text"> - <string>Show</string> - </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QListWidget" name="iconDirectoryList"> + <property name="toolTip"> + <string>List of icon directories</string> + </property> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="1"> + <layout class="QVBoxLayout"> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>209</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="upButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Up</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="downButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Down</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>170</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item row="1" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QPushButton" name="deleteIconDirectoryButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string>Press to delete the selected directory from the list</string> + </property> + <property name="text"> + <string>Delete</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="addIconDirectoryButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string>Press to add the entered directory to the list</string> + </property> + <property name="text"> + <string>Add</string> + </property> + </widget> + </item> + <item> + <widget class="E5PathPicker" name="iconDirectoryPicker" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + </widget> + </item> + </layout> + </item> + <item row="1" column="1"> + <widget class="QPushButton" name="showIconsButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Show</string> + </property> + </widget> + </item> + </layout> </widget> </item> </layout> @@ -168,13 +273,18 @@ </customwidget> </customwidgets> <tabstops> + <tabstop>defaultAutomaticButton</tabstop> + <tabstop>defaultBreezeLightButton</tabstop> + <tabstop>defaultBreezeDarkButton</tabstop> + <tabstop>defaultOxygenButton</tabstop> + <tabstop>showDefaultIconsButton</tabstop> + <tabstop>iconDirectoryPicker</tabstop> + <tabstop>showIconsButton</tabstop> + <tabstop>addIconDirectoryButton</tabstop> <tabstop>iconDirectoryList</tabstop> + <tabstop>deleteIconDirectoryButton</tabstop> <tabstop>upButton</tabstop> <tabstop>downButton</tabstop> - <tabstop>deleteIconDirectoryButton</tabstop> - <tabstop>addIconDirectoryButton</tabstop> - <tabstop>iconDirectoryPicker</tabstop> - <tabstop>showIconsButton</tabstop> </tabstops> <resources/> <connections/>