diff --git a/src/Gui/PreferencePages/DlgSettingsDocument.ui b/src/Gui/PreferencePages/DlgSettingsDocument.ui
index 3f4ba24864..c40187d0b7 100644
--- a/src/Gui/PreferencePages/DlgSettingsDocument.ui
+++ b/src/Gui/PreferencePages/DlgSettingsDocument.ui
@@ -217,19 +217,21 @@ This feature may slightly increase recomputation time.
Storage
- -
-
-
- false
+
-
+
+
+
+ true
+
- Saving transactions (Auto-save)
+ Show format documentation
-
- SaveTransactions
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
- Document
+
+ true
@@ -249,71 +251,6 @@ This feature may slightly increase recomputation time.
- -
-
-
- If there is a recovery file available the application will
-automatically run a file recovery when it is started.
-
-
- Run AutoRecovery at startup
-
-
- true
-
-
- RecoveryEnabled
-
-
- Document
-
-
-
- -
-
-
-
-
-
- How often a recovery file is written
-
-
- Save AutoRecovery information every
-
-
- true
-
-
- AutoSaveEnabled
-
-
- Document
-
-
-
- -
-
-
- min
-
-
- 1
-
-
- 60
-
-
- 15
-
-
- AutoSaveTimeout
-
-
- Document
-
-
-
-
-
-
@@ -340,12 +277,12 @@ automatically run a file recovery when it is started.
A thumbnail will be stored when document is saved
-
- true
-
Save thumbnail into project file when saving document
+
+ true
+
SaveThumbnail
@@ -402,25 +339,6 @@ Common sizes are 128, 256 and 512
- -
-
-
- The program logo will be added to the thumbnail
-
-
- Add the program logo to the generated thumbnail
-
-
- false
-
-
- AddThumbnailLogo
-
-
- Document
-
-
-
-
@@ -488,6 +406,106 @@ Common sizes are 128, 256 and 512
+ -
+
+
+ If there is a recovery file available the application will
+automatically run a file recovery when it is started.
+
+
+ Run AutoRecovery at startup
+
+
+ true
+
+
+ RecoveryEnabled
+
+
+ Document
+
+
+
+ -
+
+
+ false
+
+
+ Saving transactions (Auto-save)
+
+
+ SaveTransactions
+
+
+ Document
+
+
+
+ -
+
+
+ The program logo will be added to the thumbnail
+
+
+ Add the program logo to the generated thumbnail
+
+
+ false
+
+
+ AddThumbnailLogo
+
+
+ Document
+
+
+
+ -
+
+
-
+
+
+ How often a recovery file is written
+
+
+ Save AutoRecovery information every
+
+
+ true
+
+
+ AutoSaveEnabled
+
+
+ Document
+
+
+
+ -
+
+
+ min
+
+
+ 1
+
+
+ 60
+
+
+ 15
+
+
+ AutoSaveTimeout
+
+
+ Document
+
+
+
+
+
-
@@ -511,12 +529,12 @@ Common sizes are 128, 256 and 512
Backup files will get extension '.FCbak' and file names
get date suffix according to the specified format
-
- true
-
Use date and FCBak extension
+
+ true
+
UseFCBakExtension
@@ -732,13 +750,13 @@ You can also use the form: John Doe <john@doe.com>
- Gui::PrefCheckBox
- QCheckBox
+ Gui::PrefSpinBox
+ QSpinBox
- Gui::PrefSpinBox
- QSpinBox
+ Gui::PrefCheckBox
+ QCheckBox
diff --git a/src/Gui/PreferencePages/DlgSettingsDocumentImp.cpp b/src/Gui/PreferencePages/DlgSettingsDocumentImp.cpp
index 82710cba4d..4297531a3f 100644
--- a/src/Gui/PreferencePages/DlgSettingsDocumentImp.cpp
+++ b/src/Gui/PreferencePages/DlgSettingsDocumentImp.cpp
@@ -38,8 +38,8 @@ using namespace Gui::Dialog;
* Constructs a DlgSettingsDocumentImp which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
-DlgSettingsDocumentImp::DlgSettingsDocumentImp( QWidget* parent )
- : PreferencePage( parent )
+DlgSettingsDocumentImp::DlgSettingsDocumentImp(QWidget* parent)
+ : PreferencePage(parent)
, ui(new Ui_DlgSettingsDocument)
{
ui->setupUi(this);
@@ -50,9 +50,15 @@ DlgSettingsDocumentImp::DlgSettingsDocumentImp( QWidget* parent )
QString tip = QStringLiteral("
%1
"
"%2: %Y%m%d-%H%M%S
"
- "%3: C++ strftime"
- "
").arg(tr("The format of the date to use."), tr("Default"), tr("Format"));
+ "