--- a/src/eric7/Preferences/ConfigurationPages/EditorGeneralPage.ui Sat Jul 06 19:48:50 2024 +0200 +++ b/src/eric7/Preferences/ConfigurationPages/EditorGeneralPage.ui Sun Jul 07 12:57:21 2024 +0200 @@ -7,10 +7,10 @@ <x>0</x> <y>0</y> <width>550</width> - <height>1119</height> + <height>1130</height> </rect> </property> - <layout class="QVBoxLayout" name="verticalLayout_6"> + <layout class="QVBoxLayout" name="verticalLayout_7"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> @@ -290,7 +290,7 @@ <property name="checkable"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout_3"> + <layout class="QVBoxLayout" name="verticalLayout_6"> <item> <widget class="QGroupBox" name="sourceOutlineGroupBox"> <property name="toolTip"> @@ -302,73 +302,87 @@ <property name="checkable"> <bool>true</bool> </property> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="0" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Default Width:</string> - </property> - </widget> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Default Width:</string> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="sourceOutlineWidthSpinBox"> + <property name="toolTip"> + <string>Enter the default width of the source code outline view</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="minimum"> + <number>50</number> + </property> + <property name="maximum"> + <number>498</number> + </property> + <property name="singleStep"> + <number>50</number> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Width Step Size:</string> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="sourceOutlineWidthStepSpinBox"> + <property name="toolTip"> + <string>Enter the amount of pixels the width of the outline should be increased or decreased</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="minimum"> + <number>10</number> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="singleStep"> + <number>10</number> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>345</width> + <height>17</height> + </size> + </property> + </spacer> + </item> + </layout> </item> - <item row="0" column="1"> - <widget class="QSpinBox" name="sourceOutlineWidthSpinBox"> + <item> + <widget class="QCheckBox" name="sourceOutlineSortByOccurrenceCheckBox"> <property name="toolTip"> - <string>Enter the default width of the source code outline view</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + <string>Select to sort file contents by occurrence</string> </property> - <property name="minimum"> - <number>50</number> - </property> - <property name="maximum"> - <number>498</number> - </property> - <property name="singleStep"> - <number>50</number> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QLabel" name="label_3"> <property name="text"> - <string>Width Step Size:</string> + <string>Sort contents by occurrence</string> </property> </widget> </item> - <item row="0" column="3"> - <widget class="QSpinBox" name="sourceOutlineWidthStepSpinBox"> - <property name="toolTip"> - <string>Enter the amount of pixels the width of the outline should be increased or decreased</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - <property name="minimum"> - <number>10</number> - </property> - <property name="maximum"> - <number>100</number> - </property> - <property name="singleStep"> - <number>10</number> - </property> - </widget> - </item> - <item row="0" column="4"> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>345</width> - <height>17</height> - </size> - </property> - </spacer> - </item> - <item row="1" column="0" colspan="5"> + <item> <widget class="QCheckBox" name="sourceOutlineShowCodingCheckBox"> <property name="toolTip"> <string>Select to show the source code encoding</string> @@ -621,6 +635,7 @@ <tabstop>sourceOutlineGroupBox</tabstop> <tabstop>sourceOutlineWidthSpinBox</tabstop> <tabstop>sourceOutlineWidthStepSpinBox</tabstop> + <tabstop>sourceOutlineSortByOccurrenceCheckBox</tabstop> <tabstop>sourceOutlineShowCodingCheckBox</tabstop> <tabstop>comment0CheckBox</tabstop> <tabstop>docstringStyleComboBox</tabstop>