Fri, 14 Oct 2022 17:02:09 +0200
Editor
- added a configuration option to reject the loading of a file that exceeds the configured size
- opening a file that is not a text file will be rejected
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>InterfaceLightPage</class> <widget class="QWidget" name="InterfaceLightPage"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>555</width> <height>365</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> <string><b>Configure User Interface</b></string> </property> </widget> </item> <item> <widget class="Line" name="line9"> <property name="frameShape"> <enum>QFrame::HLine</enum> </property> <property name="frameShadow"> <enum>QFrame::Sunken</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Style:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="styleComboBox"> <property name="toolTip"> <string>Select the interface style</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Style Sheet:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="EricPathPicker" name="styleSheetPicker" 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> <property name="toolTip"> <string>Enter the path of the style sheet file</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> <string>Style Icons Path:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="EricPathPicker" name="styleIconsPathPicker" 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> <property name="toolTip"> <string>Enter the path to the icons used within the style sheet (empty for default)</string> </property> </widget> </item> </layout> </item> <item> <widget class="Line" name="line9_2"> <property name="frameShape"> <enum>QFrame::HLine</enum> </property> <property name="frameShadow"> <enum>QFrame::Sunken</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QLabel" name="TextLabel1_2_2_2"> <property name="text"> <string><font color="#FF0000"><b>Note:</b> All settings below are activated at the next startup of the application.</font></string> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="languageLabel"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Language:</string> </property> <property name="buddy"> <cstring>languageComboBox</cstring> </property> </widget> </item> <item> <widget class="QComboBox" name="languageComboBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the interface language.</string> </property> <property name="whatsThis"> <string>The interface language can be selected from this list. If "system" is selected, the interface language is determined by the system. The selection of "none" means, that the default language will be used.</string> </property> </widget> </item> </layout> </item> <item> <spacer> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>537</width> <height>41</height> </size> </property> </spacer> </item> </layout> </widget> <customwidgets> <customwidget> <class>EricPathPicker</class> <extends>QWidget</extends> <header>EricWidgets/EricPathPicker.h</header> <container>1</container> </customwidget> </customwidgets> <tabstops> <tabstop>styleComboBox</tabstop> <tabstop>styleSheetPicker</tabstop> <tabstop>styleIconsPathPicker</tabstop> </tabstops> <resources/> <connections/> </ui>