diff --git a/src/Mod/TechDraw/App/DrawViewPart.cpp b/src/Mod/TechDraw/App/DrawViewPart.cpp index 8bd9dfca76..a280f33d22 100644 --- a/src/Mod/TechDraw/App/DrawViewPart.cpp +++ b/src/Mod/TechDraw/App/DrawViewPart.cpp @@ -626,8 +626,8 @@ gp_Pln DrawViewPart::getProjPlane() const void DrawViewPart::getRunControl() { Base::Reference hGrp = App::GetApplication().GetUserParameter() - .GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/RunControl"); - m_sectionEdges = hGrp->GetBool("ShowSectionEdges", 1l); + .GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/General"); + m_sectionEdges = hGrp->GetBool("ShowSectionEdges", 0l); m_handleFaces = hGrp->GetBool("HandleFaces", 1l); //Base::Console().Message("TRACE - DVP::getRunControl - handleFaces: %d\n",m_handleFaces); } diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw.ui index 32ba4f5814..f270f9b239 100644 --- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw.ui +++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw.ui @@ -7,525 +7,640 @@ 0 0 558 - 610 + 648 TechDraw 1 - - - - 10 - 450 - 531 - 151 - - - - Files - - - - - 20 - 30 - 491 - 118 - - - - - - - Template Directory - - - - - - - Default Template - - - - - - - Gui::FileChooser::Directory - - - TemplateDir - - - /Mod/TechDraw/Files - - - - - - - Default Pattern File - - - - - - - TemplateFile - - - /Mod/TechDraw/Files - - - - - - - FileHatch - - - /Mod/TechDraw/Files - - - - - - - - - - 10 - 330 - 541 - 121 - - - - - 0 - 0 - - - - Labels - - - - - 20 - 30 - 491 - 71 - - - - - - - 0.100000000000000 - - - LabelSize - - - /Mod/TechDraw/Labels - - - - - - - Label Font - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 40 - 20 - - - - - - - - osifont - - - LabelFont - - - Mod/TechDraw/Labels - - - - - - - Label Size - - - - - - - - - - 10 - 10 - 521 - 141 - - - - General - - - - - - QFormLayout::AllNonFixedFieldsGrow - - - - - Projection Angle + + + + + General + + + + + + QFormLayout::AllNonFixedFieldsGrow - + + + + Projection Angle + + + + + + + ProjectionAngle + + + /Mod/TechDraw/General + + + + First + + + + + Third + + + + + + + + Hidden Line + + + + + + + 1 + + + HiddenLine + + + Mod/TechDraw/General + + + + NeverShow + + + + + Solid + + + + + Dash + + + + + Dot + + + + + DashDot + + + + + DashDotDot + + + + + + + + Detect Faces + + + true + + + HandleFaces + + + /Mod/TechDraw/General + + + + + + + Show Section Edges + + + ShowSectionEdges + + + /Mod/TechDraw/General + + + + - - - - ProjectionAngle + + + + Qt::Vertical - - /Mod/TechDraw/General + + + 20 + 40 + - - - First - - - - - Third - - - - - - - - Hidden Line - - - - - - - 1 - - - HiddenLine - - - Mod/TechDraw/General - - - - NeverShow - - - - - Solid - - - - - Dash - - - - - Dot - - - - - DashDot - - - - - DashDotDot - - - - - - - - Detect Faces - - - true - - - HandleFaces - - - /Mod/TechDraw/General - - - - - - - Show Section Edges - - - ShowSectionEdges - - - /Mod/TechDraw/General - - + - - - - - - - 10 - 160 - 521 - 164 - - - - Colors - - - - - - - - Section Hatch - - + + + + + + Colors + + + + + + + + Section Hatch + + + + + + + Section Face + + + + + + + + 80 + 80 + 80 + + + + Background + + + /Mod/TechDraw/Colors + + + + + + + + 255 + 255 + 20 + + + + PreSelectColor + + + Mod/TechDraw/Colors + + + + + + + Normal + + + + + + + HiddenColor + + + Mod/TechDraw/Colors + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 28 + 173 + 28 + + + + SelectColor + + + Mod/TechDraw/Colors + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + 0 + + + + NormalColor + + + Mod/TechDraw/Colors + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + PreSelected + + + + + + + Hidden Line + + + + + + + + 225 + 225 + 225 + + + + CutSurfaceColor + + + Mod/TechDraw/Colors + + + + + + + Selected + + + + + + + + 0 + 0 + 0 + + + + Hatch + + + /Mod/TechDraw/Colors + + + + + + + Background + + + + + + + Geom Hatch + + + + + + + + 0 + 0 + 0 + + + + GeomHatch + + + /Mod/TechDraw/Colors + + + + - - - - Section Face - - - - - - - - 80 - 80 - 80 - - - - Background - - - /Mod/TechDraw/Colors - - - - - - - - 255 - 255 - 20 - - - - PreSelectColor - - - Mod/TechDraw/Colors - - - - - - - Normal - - - - - - - HiddenColor - - - Mod/TechDraw/Colors - - - - - + + - Qt::Horizontal + Qt::Vertical - 40 - 20 + 20 + 40 - - - - - 28 - 173 - 28 - - - - SelectColor - - - Mod/TechDraw/Colors - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - 0 - - - - NormalColor - - - Mod/TechDraw/Colors - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - PreSelected - - - - - - - Hidden Line - - - - - - - - 225 - 225 - 225 - - - - CutSurfaceColor - - - Mod/TechDraw/Colors - - - - - - - Selected - - - - - - - - 0 - 0 - 0 - - - - Hatch - - - /Mod/TechDraw/Colors - - - - - - - Background - - - - - - + + + + + + Files + + + + + + + + Template Directory + + + + + + + Default Template + + + + + + + Gui::FileChooser::Directory + + + TemplateDir + + + /Mod/TechDraw/Files + + + + + + + Hatch Image + + + + + + + TemplateFile + + + /Mod/TechDraw/Files + + + + + + + Location of default svg/png fill file + + + FileHatch + + + /Mod/TechDraw/Files + + + + + + + PAT File + + + + + + + Default location for PAT file + + + FilePattern + + + /Mod/TechDraw/PAT + + + + + + + + + + + Default PAT pattern + + + NamePattern + + + /Mod/TechDraw/PAT + + + + + + + Pattern Name + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + 0 + 0 + + + + Labels + + + + + + + + 0.100000000000000 + + + LabelSize + + + /Mod/TechDraw/Labels + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 40 + 20 + + + + + + + + Label Font + + + + + + + osifont + + + LabelFont + + + Mod/TechDraw/Labels + + + + + + + Label Size + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2.ui index f25d234778..0e56034a06 100644 --- a/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2.ui +++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDraw2.ui @@ -13,421 +13,467 @@ TechDraw 2 - - - - 10 - 20 - 501 - 161 - - - - Dimensions - - - - - 20 - 30 - 471 - 125 - - - - - - - Show Units - - - ShowUnits - - - /Mod/TechDraw/Dimensions - - - - - - - Color - - - - - - - Font Size - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - 1 - - - 4.000000000000000 - - - FontSize - - - /Mod/TechDraw/Dimensions - - - - - - - - 0 - 0 - 0 - - - - Color - - - /Mod/TechDraw/Dimensions - - - - - - - Diameter Symbol - - - - - - - - 12 - - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - DiameterSymbol - - - /Mod/TechDraw/Dimensions - - - - - - - - - - 10 - 190 - 501 - 231 - - - - Decorations - - - - - 20 - 30 - 471 - 194 - - - - - - - MattingStyle - - - /Mod/TechDraw/Decorations - - - - Round + + + + + Dimensions + + + + + + + + Show Units + + + ShowUnits + + + /Mod/TechDraw/Dimensions + + + + + + + Color + + + + + + + Font Size + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + 1 + + + 4.000000000000000 + + + FontSize + + + /Mod/TechDraw/Dimensions + + + + + + + + 0 + 0 + 0 + + + + Color + + + /Mod/TechDraw/Dimensions + + + + + + + Diameter Symbol + + + + + + + + 12 + + + + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + DiameterSymbol + + + /Mod/TechDraw/Dimensions + + + + + + + + + Qt::Vertical - - - - Square + + + 20 + 40 + - - - - - - - Section Line Style - - - - - - - Center Line Style - - - - - - - Matting Style - - - - - - - - 175 - 175 - 175 - - - - CenterColor - - - /Mod/TechDraw/Decorations - - - - - - - 2 - - - CenterLine - - - /Mod/TechDraw/Decorations - - - - NeverShow + + + + + + + + + Decorations + + + + + + + + MattingStyle + + + /Mod/TechDraw/Decorations + + + + Round + + + + + Square + + + + + + + + Section Line Style + + + + + + + Center Line Style + + + + + + + Matting Style + + + + + + + + 175 + 175 + 175 + + + + CenterColor + + + /Mod/TechDraw/Decorations + + + + + + + 2 + + + CenterLine + + + /Mod/TechDraw/Decorations + + + + NeverShow + + + + + Sollid + + + + + Dash + + + + + Dot + + + + + DashDot + + + + + DashDotDot + + + + + + + + 2 + + + SectionLine + + + /Mod/TechDraw/Decorations + + + + NeverShow + + + + + Solid + + + + + Dash + + + + + Dot + + + + + DashDot + + + + + DashDotDot + + + + + + + + Center Line Color + + + + + + + Section Line Color + + + + + + + + 175 + 175 + 175 + + + + SectionColor + + + /Mod/TechDraw/Decorations + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Arrow Style + + + + + + + Preferred arrowhead style + + + 0 + + + 5 + + + ArrowStyle + + + Mod/TechDraw/Decorations + + + + 0 - Filled Triangle + + + + :/icons/arrowfilled.svg + + + + + + 1 - Open Arrowhead + + + + :/icons/arrowopen.svg + + + + + + 2 - Tick + + + + :/icons/arrowtick.svg + + + + + + 3 - Dot + + + + :/icons/arrowdot.svg + + + + + + 4 - Open Circle + + + + :/icons/arrowopendot.svg + + + + + + + + + Default weight for GeomHatch lines + + + Hatch Weight + + + + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + 1.000000000000000 + + + GeomWeight + + + Mod/TechDraw/PAT + + + + + + + + + Qt::Vertical - - - - Sollid + + + 20 + 40 + - - - - Dash - - - - - Dot - - - - - DashDot - - - - - DashDotDot - - - - - - - - 2 - - - SectionLine - - - /Mod/TechDraw/Decorations - - - - NeverShow - - - - - Solid - - - - - Dash - - - - - Dot - - - - - DashDot - - - - - DashDotDot - - - - - - - - Center Line Color - - - - - - - Section Line Color - - - - - - - - 175 - 175 - 175 - - - - SectionColor - - - /Mod/TechDraw/Decorations - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Arrow Style - - - - - - - Preferred arrowhead style - - - 0 - - - 5 - - - ArrowStyle - - - Mod/TechDraw/Decorations - - - - 0 - Filled Triangle - - - - :/icons/arrowfilled.svg - - - - - - 1 - Open Arrowhead - - - - :/icons/arrowopen.svg - - - - - - 2 - Tick - - - - :/icons/arrowtick.svg - - - - - - 3 - Dot - - - - :/icons/arrowdot.svg - - - - - - 4 - Open Circle - - - - :/icons/arrowopendot.svg - - - - - - - - + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + +