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)
This commit is contained in:
Sebastian Bachmann
2018-02-21 11:10:39 +01:00
parent 3fc7333309
commit 1505ee3115
13 changed files with 343 additions and 201 deletions

View File

@@ -158,6 +158,12 @@ SET(TechDraw_Templates
Templates/A4_LandscapeTD.svg
Templates/A4_Landscape_ISO7200TD.svg
Templates/A4_Portrait_ISO7200TD.svg
Templates/A0_Landscape_blank.svg
Templates/A1_Landscape_blank.svg
Templates/A2_Landscape_blank.svg
Templates/A3_Landscape_blank.svg
Templates/A4_Landscape_blank.svg
Templates/A4_Portrait_blank.svg
)
SET(TechDraw_PATFile