diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2.ui
index ab958d60a1..751ed1b649 100644
--- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2.ui
+++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2.ui
@@ -7,11 +7,11 @@
0
0
440
- 500
+ 450
-
+
0
0
@@ -19,7 +19,7 @@
0
- 500
+ 0
@@ -29,6 +29,388 @@
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 141
+
+
+
+ Size Adjustments
+
+
+
-
+
+
-
+
+
+ Vertex Scale
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 174
+ 0
+
+
+
+ Scale of vertex dots. Multiplier of line width.
+
+
+
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ 5.000000000000000
+
+
+ VertexScale
+
+
+ Mod/TechDraw/General
+
+
+
+ -
+
+
+
+ true
+
+
+
+ Center Mark Scale
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 174
+ 0
+
+
+
+ Size of center marks. Multiplier of vertex size.
+
+
+
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ 0.500000000000000
+
+
+ CenterMarkScale
+
+
+ Mod/TechDraw/Decorations
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ true
+
+
+
+ Tolerance Text Scale
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 174
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+ Tolerance font size adjustment. Multiplier of dimension font size.
+
+
+
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ 0.500000000000000
+
+
+ TolSizeAdjust
+
+
+ Mod/TechDraw/Dimensions
+
+
+
+ -
+
+
+ Template Edit Mark
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 174
+ 0
+
+
+
+ Size of template field click handles
+
+
+ 3.000000000000000
+
+
+ TemplateDotSize
+
+
+ Mod/TechDraw/General
+
+
+
+
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 200
+
+
+
+ Selection
+
+
+
-
+
+
-
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 174
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+ Selection area around center marks
+Each unit means is approx. 0.1 mm
+
+
+
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ 5.000000000000000
+
+
+ MarkFuzz
+
+
+ Mod/TechDraw/General
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 174
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+ Size of selection area around edges
+Each unit means is approx. 0.1 mm
+
+
+
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ 10.000000000000000
+
+
+ EdgeFuzz
+
+
+ Mod/TechDraw/General
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Mark Fuzz
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+ Edge Fuzz
+
+
+
+
+
+
+
+
-
@@ -226,207 +608,6 @@
- -
-
-
-
- 0
- 0
-
-
-
-
- 0
- 113
-
-
-
-
- 0
- 200
-
-
-
- Selection
-
-
-
-
-
-
-
-
-
-
- 0
- 0
-
-
-
-
- 0
- 0
-
-
-
- Edge Fuzz
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 174
- 0
-
-
-
-
- 0
- 0
-
-
-
- Size of selection area around edges
-
-
-
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- 10.000000000000000
-
-
- EdgeFuzz
-
-
- Mod/TechDraw/General
-
-
-
- -
-
-
- Mark Fuzz
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 174
- 0
-
-
-
-
- 0
- 0
-
-
-
- Selection area around center marks
-
-
-
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- 5.000000000000000
-
-
- MarkFuzz
-
-
- Mod/TechDraw/General
-
-
-
- -
-
-
- Overlap Radius
-
-
-
- -
-
-
- false
-
-
-
- 0
- 0
-
-
-
-
- 174
- 0
-
-
-
-
- 0
- 33
-
-
-
- Area to be inspected for overlap object selection.
-(not implemented yet)
-
-
-
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- 20.000000000000000
-
-
- OverlapRadius
-
-
- Mod/TechDraw/General
-
-
-
-
-
-
-
-
-
@@ -446,233 +627,6 @@
- -
-
-
-
- 0
- 0
-
-
-
-
- 0
- 141
-
-
-
- Size Adjustments
-
-
-
-
-
-
-
-
-
- Vertex Scale
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 174
- 0
-
-
-
- Scale of vertex dots. Multiplier of line width.
-
-
-
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- 5.000000000000000
-
-
- VertexScale
-
-
- Mod/TechDraw/General
-
-
-
- -
-
-
-
- true
-
-
-
- Center Mark Scale
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 174
- 0
-
-
-
- Size of center marks. Multiplier of vertex size.
-
-
-
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- 0.500000000000000
-
-
- CenterMarkScale
-
-
- Mod/TechDraw/Decorations
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 0
- 0
-
-
-
-
- true
-
-
-
- Tolerance Text Scale
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 174
- 0
-
-
-
-
- 0
- 0
-
-
-
- Tolerance font size adjustment. Multiplier of dimension font size.
-
-
-
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- 0.500000000000000
-
-
- TolSizeAdjust
-
-
- Mod/TechDraw/Dimensions
-
-
-
- -
-
-
- Template Edit Mark
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 174
- 0
-
-
-
- Size of template field click handles
-
-
- Qt::AlignRight
-
-
- 3.000000000000000
-
-
- TemplateDotSize
-
-
- Mod/TechDraw/General
-
-
-
-
-
-
-
-
-
@@ -701,7 +655,7 @@
Gui::PrefUnitSpinBox
- Gui::QuantitySpinBox
+ QWidget
diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2Imp.cpp b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2Imp.cpp
index dd02aa5360..2a24864609 100644
--- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2Imp.cpp
+++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2Imp.cpp
@@ -61,16 +61,13 @@ void DlgPrefsTechDraw2Imp::saveSettings()
{
pdsbToleranceScale->onSave();
pdsbTemplateMark->onSave();
-
pdsbVertexScale->onSave();
pdsbCenterScale->onSave();
-
pdsbPageScale->onSave();
cbViewScaleType->onSave();
pdsbViewScale->onSave();
pdsbEdgeFuzz->onSave();
pdsbMarkFuzz->onSave();
- pdsbOverlapRadius->onSave();
pdsbTemplateMark->onSave();
}
@@ -78,20 +75,15 @@ void DlgPrefsTechDraw2Imp::loadSettings()
{
double markDefault = 3.0;
pdsbTemplateMark->setValue(markDefault);
-
pdsbToleranceScale->onRestore();
-
pdsbTemplateMark->onRestore();
-
pdsbVertexScale->onRestore();
pdsbCenterScale->onRestore();
-
pdsbPageScale->onRestore();
cbViewScaleType->onRestore();
pdsbViewScale->onRestore();
pdsbEdgeFuzz->onRestore();
pdsbMarkFuzz->onRestore();
- pdsbOverlapRadius->onRestore();
pdsbTemplateMark->onRestore();
}