Fix StartPage preference widget names

This commit is contained in:
qewer33
2023-09-03 16:33:50 +03:00
parent 5be49a56f9
commit 87d9fb576f
2 changed files with 379 additions and 379 deletions

View File

@@ -14,6 +14,81 @@
<string>General</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Options</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="autoModuleLabel">
<property name="text">
<string>Switch workbench after loading</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="AutoloadModuleCombo">
<property name="toolTip">
<string>Choose which workbench to switch to after the program launches</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Close start page after loading</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefCheckBox" name="closeStartCheckBox">
<property name="toolTip">
<string>If checked, will automatically close the Start page when FreeCAD launches</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string/>
</property>
<property name="prefEntry" stdset="0">
<cstring>closeStart</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Close and switch on opening file</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::PrefCheckBox" name="closeAndSwitchCheckBox">
<property name="toolTip">
<string>If application is started by opening a file, apply the two settings above</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string/>
</property>
<property name="prefEntry" stdset="0">
<cstring>DoNotShowOnOpen</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
@@ -35,7 +110,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_1">
<widget class="Gui::PrefCheckBox" name="showExamplesCheckBox">
<property name="toolTip">
<string>If you want the examples to show on the first page</string>
</property>
@@ -57,7 +132,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_4">
<widget class="Gui::PrefCheckBox" name="showForumCheckBox">
<property name="toolTip">
<string>If this is checked, the latest posts from the FreeCAD forum will be displayed on the Activity tab</string>
</property>
@@ -95,7 +170,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox">
<widget class="Gui::PrefCheckBox" name="showNotepadCheckBox">
<property name="toolTip">
<string>Shows a notepad next to the file thumbnails, where you can keep notes across sessions</string>
</property>
@@ -135,7 +210,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::PrefFileChooser" name="fileChooser_3" native="true">
<widget class="Gui::PrefFileChooser" name="showAdditionalFolderFileChooser" native="true">
<property name="toolTip">
<string>An optional custom folder to be displayed at the bottom of the first page.
By using &quot;;;&quot; to separate paths, you can add several folders here</string>
@@ -149,7 +224,7 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
</widget>
</item>
<item row="5" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_7">
<widget class="Gui::PrefCheckBox" name="showScrollbarsCheckBox">
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
@@ -182,7 +257,7 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
</widget>
</item>
<item row="4" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_6">
<widget class="Gui::PrefCheckBox" name="showTipsCheckBox">
<property name="toolTip">
<string>Displays help tips in the Start workbench Documents tab</string>
</property>
@@ -246,7 +321,7 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
<enum>Qt::LeftToRight</enum>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string>px</string>
@@ -279,232 +354,8 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
<string>Fonts and colors</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Use FreeCAD style sheet</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_5">
<property name="toolTip">
<string>If this is checked and a style sheet is specified in General preferences, it will be used and override the colors below</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string/>
</property>
<property name="prefEntry" stdset="0">
<cstring>UseStyleSheet</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Background color</string>
</property>
</widget>
</item>
<item row="1" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="colorButton_1">
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>The background color behind the panels</string>
</property>
<property name="color" stdset="0">
<color>
<red>79</red>
<green>88</green>
<blue>116</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>BackgroundColor1</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_12">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Background color down gradient</string>
</property>
</widget>
</item>
<item row="2" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="colorButton_7">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>The down gradient for the background color (currently unsupported)</string>
</property>
<property name="color" stdset="0">
<color>
<red>127</red>
<green>158</green>
<blue>181</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>BackgroundColor2</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Background image</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="Gui::PrefFileChooser" name="fileChooser_2" native="true">
<property name="toolTip">
<string>An optional image to display as background</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>BackgroundImage</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Background text color</string>
</property>
</widget>
</item>
<item row="5" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="colorButton_2">
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>The color of the version text</string>
</property>
<property name="color" stdset="0">
<color>
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>BackgroundTextColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Page background color</string>
</property>
</widget>
</item>
<item row="6" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="colorButton_3">
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>The background of the main start page area</string>
</property>
<property name="color" stdset="0">
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>PageColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Page text color</string>
</property>
</widget>
</item>
<item row="7" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="colorButton_4">
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>The color of the text on the main pages</string>
</property>
<property name="color" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>PageTextColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Box background color</string>
</property>
</widget>
</item>
<item row="8" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="colorButton_5">
<item row="9" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="boxBackgroundColorButton">
<property name="maximumSize">
<size>
<width>60</width>
@@ -529,15 +380,22 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_8">
<item row="8" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Link color</string>
<string>Page text color</string>
</property>
</widget>
</item>
<item row="9" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="colorButton_6">
<item row="7" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Page background color</string>
</property>
</widget>
</item>
<item row="7" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="pageBackgroundColorButton">
<property name="maximumSize">
<size>
<width>60</width>
@@ -545,83 +403,24 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
</size>
</property>
<property name="toolTip">
<string>The color of the links</string>
<string>The background of the main start page area</string>
</property>
<property name="color" stdset="0">
<color>
<red>0</red>
<green>0</green>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>LinkColor</cstring>
<cstring>PageColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Font family</string>
</property>
</widget>
</item>
<item row="10" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="Gui::PrefLineEdit" name="lineEdit">
<property name="toolTip">
<string>The font family to use on the start page. Can be a font name or a comma-separated series of fallback fonts</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>Arial,Helvetica,sans</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>FontFamily</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefSpinBox" name="spinBox">
<property name="toolTip">
<string>The base font size to use for all texts of the Start page</string>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="value">
<number>13</number>
</property>
<property name="prefEntry" stdset="0">
<cstring>FontSize</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
</layout>
</item>
<item row="11" column="0">
<widget class="QLabel" name="label_7">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Open links</string>
</property>
</widget>
</item>
<item row="11" column="1">
<item row="12" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="Gui::PrefRadioButton" name="radioButton_2">
@@ -660,66 +459,195 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Options</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="autoModuleLabel">
<item row="11" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Switch workbench after loading</string>
<string>Font family</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="AutoloadModuleCombo">
<item row="12" column="0">
<widget class="QLabel" name="label_7">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Open links</string>
</property>
</widget>
</item>
<item row="2" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="backgroundColorButton">
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>Choose which workbench to switch to after the program launches</string>
<string>The background color behind the panels</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Close start page after loading</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_2">
<property name="toolTip">
<string>If checked, will automatically close the Start page when FreeCAD launches</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string/>
<property name="color" stdset="0">
<color>
<red>79</red>
<green>88</green>
<blue>116</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>closeStart</cstring>
<cstring>BackgroundColor1</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Use FreeCAD style sheet</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_12">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Background color down gradient</string>
</property>
</widget>
</item>
<item row="3" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="colorButton_7">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>The down gradient for the background color (currently unsupported)</string>
</property>
<property name="color" stdset="0">
<color>
<red>127</red>
<green>158</green>
<blue>181</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>BackgroundColor2</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Box background color</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_13">
<widget class="QLabel" name="label">
<property name="text">
<string>Close and switch on opening file</string>
<string>Background color</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_3">
<item row="6" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Background text color</string>
</property>
</widget>
</item>
<item row="11" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="Gui::PrefLineEdit" name="fontLineEdit">
<property name="toolTip">
<string>The font family to use on the start page. Can be a font name or a comma-separated series of fallback fonts</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>Arial,Helvetica,sans</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>FontFamily</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefSpinBox" name="fontSizeSpinBox">
<property name="toolTip">
<string>The base font size to use for all texts of the Start page</string>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="value">
<number>13</number>
</property>
<property name="prefEntry" stdset="0">
<cstring>FontSize</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
</layout>
</item>
<item row="10" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="linkColorButton">
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>If application is started by opening a file, apply the two settings above</string>
<string>The color of the links</string>
</property>
<property name="color" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>LinkColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Link color</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::PrefCheckBox" name="useStyleSheetCheckBox">
<property name="toolTip">
<string>If this is checked and a style sheet is specified in General preferences, it will be used and override the colors below</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
@@ -728,13 +656,85 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
<string/>
</property>
<property name="prefEntry" stdset="0">
<cstring>DoNotShowOnOpen</cstring>
<cstring>UseStyleSheet</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="6" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="backgroundTextColorButton">
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>The color of the version text</string>
</property>
<property name="color" stdset="0">
<color>
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>BackgroundTextColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="8" column="1" alignment="Qt::AlignRight">
<widget class="Gui::PrefColorButton" name="pageTextColorButton">
<property name="maximumSize">
<size>
<width>60</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>The color of the text on the main pages</string>
</property>
<property name="color" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>PageTextColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefFileChooser" name="backgroundImageFileChooser" native="true">
<property name="toolTip">
<string>An optional image to display as background</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>BackgroundImage</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Background image</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>

View File

@@ -94,27 +94,27 @@ void DlgStartPreferencesImp::saveSettings()
App::GetApplication()
.GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Start")
->SetASCII("AutoloadModule", startWbName.toLatin1());
ui->colorButton_1->onSave();
ui->colorButton_2->onSave();
ui->colorButton_3->onSave();
ui->colorButton_4->onSave();
ui->colorButton_5->onSave();
ui->colorButton_6->onSave();
ui->backgroundColorButton->onSave();
ui->backgroundTextColorButton->onSave();
ui->pageBackgroundColorButton->onSave();
ui->pageTextColorButton->onSave();
ui->boxBackgroundColorButton->onSave();
ui->linkColorButton->onSave();
ui->colorButton_7->onSave();
ui->fileChooser_2->onSave();
ui->fileChooser_3->onSave();
ui->backgroundImageFileChooser->onSave();
ui->showAdditionalFolderFileChooser->onSave();
ui->radioButton_1->onSave();
ui->radioButton_2->onSave();
ui->checkBox->onSave();
ui->checkBox_1->onSave();
ui->checkBox_2->onSave();
ui->checkBox_3->onSave();
ui->checkBox_4->onSave();
ui->checkBox_5->onSave();
ui->checkBox_6->onSave();
ui->checkBox_7->onSave();
ui->lineEdit->onSave();
ui->spinBox->onSave();
ui->showNotepadCheckBox->onSave();
ui->showExamplesCheckBox->onSave();
ui->closeStartCheckBox->onSave();
ui->closeAndSwitchCheckBox->onSave();
ui->showForumCheckBox->onSave();
ui->useStyleSheetCheckBox->onSave();
ui->showTipsCheckBox->onSave();
ui->showScrollbarsCheckBox->onSave();
ui->fontLineEdit->onSave();
ui->fontSizeSpinBox->onSave();
ui->showFileThumbnailIconsCheckBox->onSave();
ui->fileThumbnailIconSizeSpinBox->onSave();
}
@@ -127,27 +127,27 @@ void DlgStartPreferencesImp::loadSettings()
->GetASCII("AutoloadModule", start.c_str());
QString startWbName = QLatin1String(start.c_str());
ui->AutoloadModuleCombo->setCurrentIndex(ui->AutoloadModuleCombo->findData(startWbName));
ui->colorButton_1->onRestore();
ui->colorButton_2->onRestore();
ui->colorButton_3->onRestore();
ui->colorButton_4->onRestore();
ui->colorButton_5->onRestore();
ui->colorButton_6->onRestore();
ui->backgroundColorButton->onRestore();
ui->backgroundTextColorButton->onRestore();
ui->pageBackgroundColorButton->onRestore();
ui->pageTextColorButton->onRestore();
ui->boxBackgroundColorButton->onRestore();
ui->linkColorButton->onRestore();
ui->colorButton_7->onRestore();
ui->fileChooser_2->onRestore();
ui->fileChooser_3->onRestore();
ui->backgroundImageFileChooser->onRestore();
ui->showAdditionalFolderFileChooser->onRestore();
ui->radioButton_1->onRestore();
ui->radioButton_2->onRestore();
ui->checkBox->onRestore();
ui->checkBox_1->onRestore();
ui->checkBox_2->onRestore();
ui->checkBox_3->onRestore();
ui->checkBox_4->onRestore();
ui->checkBox_5->onRestore();
ui->checkBox_6->onRestore();
ui->checkBox_7->onRestore();
ui->lineEdit->onRestore();
ui->spinBox->onRestore();
ui->showNotepadCheckBox->onRestore();
ui->showExamplesCheckBox->onRestore();
ui->closeStartCheckBox->onRestore();
ui->closeAndSwitchCheckBox->onRestore();
ui->showForumCheckBox->onRestore();
ui->useStyleSheetCheckBox->onRestore();
ui->showTipsCheckBox->onRestore();
ui->showScrollbarsCheckBox->onRestore();
ui->fontLineEdit->onRestore();
ui->fontSizeSpinBox->onRestore();
ui->showFileThumbnailIconsCheckBox->onRestore();
ui->fileThumbnailIconSizeSpinBox->onRestore();
}