--- a/src/eric7/Preferences/ConfigurationPages/EditorFilePage.ui Fri Oct 14 14:46:40 2022 +0200 +++ b/src/eric7/Preferences/ConfigurationPages/EditorFilePage.ui Fri Oct 14 17:02:09 2022 +0200 @@ -7,10 +7,10 @@ <x>0</x> <y>0</y> <width>600</width> - <height>1621</height> + <height>1696</height> </rect> </property> - <layout class="QVBoxLayout" name="verticalLayout_5"> + <layout class="QVBoxLayout" name="verticalLayout_6"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> @@ -36,7 +36,7 @@ <property name="title"> <string>Open && Close</string> </property> - <layout class="QVBoxLayout"> + <layout class="QVBoxLayout" name="verticalLayout_5"> <item> <layout class="QHBoxLayout"> <item> @@ -62,15 +62,15 @@ </layout> </item> <item> - <layout class="QHBoxLayout"> - <item> + <layout class="QGridLayout" name="gridLayout_6"> + <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Warn, if file is greater than</string> </property> </widget> </item> - <item> + <item row="0" column="1"> <widget class="QSpinBox" name="warnFilesizeSpinBox"> <property name="toolTip"> <string>Enter the filesize, a warning dialog should be shown.</string> @@ -92,19 +92,48 @@ </property> </widget> </item> - <item> - <spacer> + <item row="0" column="2"> + <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> - <width>40</width> - <height>20</height> + <width>32</width> + <height>17</height> </size> </property> </spacer> </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_13"> + <property name="text"> + <string>Reject, if file is greater than</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="rejectFilesizeSpinBox"> + <property name="toolTip"> + <string>Enter the filesize, opening a file should be rejected.</string> + </property> + <property name="suffix"> + <string> KB</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>16384</number> + </property> + <property name="singleStep"> + <number>16</number> + </property> + <property name="value"> + <number>4096</number> + </property> + </widget> + </item> </layout> </item> </layout> @@ -747,6 +776,7 @@ <tabstop>clearBreakpointsCheckBox</tabstop> <tabstop>automaticReopenCheckBox</tabstop> <tabstop>warnFilesizeSpinBox</tabstop> + <tabstop>rejectFilesizeSpinBox</tabstop> <tabstop>lfRadioButton</tabstop> <tabstop>crRadioButton</tabstop> <tabstop>crlfRadioButton</tabstop> @@ -770,10 +800,10 @@ <tabstop>previewMarkdownExtensionsEdit</tabstop> <tabstop>previewMarkdownHTMLFormatComboBox</tabstop> <tabstop>previewMarkdownNLtoBreakCheckBox</tabstop> + <tabstop>previewMarkdownPyMdownCheckBox</tabstop> + <tabstop>previewMarkdownPyMdownInstallPushButton</tabstop> <tabstop>previewMarkdownMathJaxCheckBox</tabstop> <tabstop>previewMarkdownMermaidCheckBox</tabstop> - <tabstop>previewMarkdownPyMdownCheckBox</tabstop> - <tabstop>previewMarkdownPyMdownInstallPushButton</tabstop> <tabstop>previewRestExtensionsEdit</tabstop> <tabstop>previewRestSphinxCheckBox</tabstop> <tabstop>previewRestDocutilsHTMLFormatComboBox</tabstop>