diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3.ui index 0b71c8547a44..c3e3c2d63b3c 100644 --- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3.ui +++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3.ui @@ -22,10 +22,22 @@ + + + 0 + 0 + + 0 - 284 + 250 + + + + + 0 + 0 @@ -33,8 +45,8 @@ - - + + @@ -64,7 +76,7 @@ - + false @@ -117,7 +129,7 @@ - + @@ -129,7 +141,7 @@ - + @@ -151,41 +163,13 @@ - + Alternate Decimals - - - - true - - - - 0 - 0 - - - - Custom format for dimension text - - - %.2f - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - formatSpec - - - /Mod/TechDraw/Dimensions - - - @@ -193,7 +177,7 @@ - + @@ -205,7 +189,7 @@ - + @@ -217,7 +201,7 @@ - + @@ -242,7 +226,7 @@ - + @@ -267,18 +251,6 @@ - - - - - true - - - - Default Format - - - @@ -318,14 +290,14 @@ - + Diameter Symbol - + Qt::Horizontal @@ -1308,8 +1280,8 @@ 71 - 338 - 127 + 425 + 124 diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3Imp.cpp b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3Imp.cpp index 746941693b78..624527ce47e4 100644 --- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3Imp.cpp +++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw3Imp.cpp @@ -67,7 +67,6 @@ void DlgPrefsTechDraw3Imp::saveSettings() cbShowCenterMarks->onSave(); cbShowUnits->onSave(); leDiameter->onSave(); - leformatSpec->onSave(); leLineGroup->onSave(); pcbArrow->onSave(); pcbBalloonArrow->onSave(); @@ -106,7 +105,6 @@ void DlgPrefsTechDraw3Imp::loadSettings() cbShowCenterMarks->onRestore(); cbShowUnits->onRestore(); leDiameter->onRestore(); - leformatSpec->onRestore(); leLineGroup->onRestore(); pcbArrow->onRestore(); pcbBalloonArrow->onRestore(); diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4.ui index 060e4093a36d..399558154c9f 100644 --- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4.ui +++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4.ui @@ -7,19 +7,63 @@ 0 0 440 - 268 + 381 Advanced - + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + 12 + true + + + + QFrame::Box + + + Items in italics are default values for new objects. They have no effect on existing objects. + + + true + + + + + + + 0 + 0 + + 0 - 141 + 300 + + + + + 0 + 0 @@ -28,7 +72,7 @@ - + @@ -68,18 +112,35 @@ Only change unless you know what you are doing! - - - - Qt::Horizontal + + + + Limit of 64x64 pixel SVG tiles used to hatch a single face. +For large scalings you might get an error about to many SVG tiles. +Then you need to increase the tile limit. - - - 40 - 20 - + + Qt::AlignRight - + + 1 + + + 1000000 + + + 100 + + + 10000 + + + MaxSVGTile + + + Mod/TechDraw/Decorations + + @@ -103,62 +164,44 @@ Only change unless you know what you are doing! - - + + - Limit of 64x64 pixel SVG tiles used to hatch a single face. -For large scalings you might get an error about to many SVG tiles. -Then you need to increase the tile limit. - - - 1 - - - 1000000 - - - 100 + Include 2D Objects in projection - - Qt::AlignRight + + Show Loose 2D Geom - - 10000 + + false - MaxSVGTile + ShowLoose2d - Mod/TechDraw/Decorations + Mod/TechDraw/General - - - - Maximum hatch line segments to use -when hatching a face with a PAT pattern - - - 1 - - - 1000000 - - - 100 + + + + + 0 + 0 + - - Qt::AlignRight + + Dump intermediate results during Section view processing - - 10000 + + Debug Section - MaxSeg + debugSection - Mod/TechDraw/PAT + Mod/TechDraw/debug @@ -211,25 +254,44 @@ when hatching a face with a PAT pattern - - - - - 0 - 0 - - + + - Dump intermediate results during Section view processing + Maximum hatch line segments to use +when hatching a face with a PAT pattern - - Debug Section + + Qt::AlignRight + + + 1 + + + 1000000 + + + 100 + + + 10000 - debugSection + MaxSeg - Mod/TechDraw/debug + Mod/TechDraw/PAT + + + + + + + + true + + + + Line End Cap Shape @@ -261,31 +323,18 @@ can be a performance penalty in complex models. - - - - - true - - - - Line End Cap Shape - - - - - - - Max SVG Hatch Tiles + + + + Qt::Horizontal - - - - - - Max PAT Hatch Segments + + + 40 + 20 + - + @@ -309,22 +358,45 @@ can be a performance penalty in complex models. - - - - Include 2D Objects in projection + + + + Max SVG Hatch Tiles + + + + - Show Loose 2D Geom + Max PAT Hatch Segments - - false + + + + + + + true + + + + Dimension Format + + + + + + + Override automatic dimension format + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - ShowLoose2d + formatSpec - Mod/TechDraw/General + /Mod/TechDraw/Dimensions @@ -333,38 +405,6 @@ can be a performance penalty in complex models. - - - - - 12 - true - - - - QFrame::Box - - - Items in italics are default values for new objects. They have no effect on existing objects. - - - true - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - @@ -383,6 +423,11 @@ can be a performance penalty in complex models. QComboBox
Gui/PrefWidgets.h
+ + Gui::PrefLineEdit + QLineEdit +
Gui/PrefWidgets.h
+
diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4Imp.cpp b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4Imp.cpp index 8ea42d7b5e3c..9725728ee473 100644 --- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4Imp.cpp +++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw4Imp.cpp @@ -53,6 +53,7 @@ void DlgPrefsTechDraw4Imp::saveSettings() sbMaxTiles->onSave(); sbMaxPat->onSave(); cbShowLoose->onSave(); + leFormatSpec->onSave(); } void DlgPrefsTechDraw4Imp::loadSettings() @@ -67,6 +68,7 @@ void DlgPrefsTechDraw4Imp::loadSettings() sbMaxTiles->onRestore(); sbMaxPat->onRestore(); cbShowLoose->onRestore(); + leFormatSpec->onRestore(); } /**