FreeCAD: master c41363c1

Author Committer Branch Timestamp Parent
Sebastian Bachmann Sebastian Bachmann master 2018-02-21 04:10:39 master e5ef0f53
Changeset TechDraw: new center/section draw style

using custom QT pen styles, the center and section lines look much
better.
With some math we are also able to control the middle position, thus
the centerlines will always look good, regardless of the size of an
object.

Also getting the section label size from the settings, so the font
size is controllable and not hardcoded.

Bonus: adding blank templates for the common paper sizes (as the
        Drawing WB has them)
mod - src/Mod/TechDraw/App/CMakeLists.txt Diff File
mod - src/Mod/TechDraw/Gui/QGICenterLine.cpp Diff File
mod - src/Mod/TechDraw/Gui/QGICenterLine.h Diff File
mod - src/Mod/TechDraw/Gui/QGISectionLine.cpp Diff File
mod - src/Mod/TechDraw/Gui/QGIViewPart.cpp Diff File
mod - src/Mod/TechDraw/Gui/QGIViewPart.h Diff File
mod - src/Mod/TechDraw/Gui/ViewProviderViewPart.cpp Diff File
add - src/Mod/TechDraw/Templates/A0_Landscape_blank.svg Diff File
add - src/Mod/TechDraw/Templates/A1_Landscape_blank.svg Diff File
add - src/Mod/TechDraw/Templates/A2_Landscape_blank.svg Diff File
add - src/Mod/TechDraw/Templates/A3_Landscape_blank.svg Diff File
add - src/Mod/TechDraw/Templates/A4_Landscape_blank.svg Diff File
add - src/Mod/TechDraw/Templates/A4_Portrait_blank.svg Diff File