Commit Graph

18 Commits

Author SHA1 Message Date
Chris Hennes
c44ccc0ff2 TD: PR6497 move return statement to new line 2022-03-29 13:26:01 -05:00
wmayer
fd8719c85c TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
7daff0960f [TD] ViewProviders: remove unused includes
- also sort the includes
2022-02-18 04:43:32 +01:00
luz paz
73d330b0c8 [TD] Renamed ProjectionGroup, Hatch, GeomericHatch 2021-04-17 11:38:10 +02:00
donovaly
a1915d313a [TD] make LineGroup selectable
At the moment one has to specify the LineGroup as string. But one doesn't know what groups exist. So one has to check the Wiki, learn there where the groups are defined and then open the definition file with a text editor.

This PR simplifies this by reading the existing groups out of the definition file and fill the combobox accordingly.
It also give the user info what the selected LineGroup defines via the tooltip.

A nice side effect is that no typos can occur since you don't have to enter the LineGroup name as text.
2020-12-03 17:24:49 +01:00
luz paz
a3cb87b117 TechDraw: Header uniformity and whitespace fixes 2020-11-14 16:59:51 +01:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
wandererfan
7a9a87fa6c [TD]common preference getters for hatches 2020-03-20 07:28:33 -04:00
wandererfan
10d802698b [TD]fix bad preference keys
- GeomHatch color, centerline color, ortho balloon
  filled triangle end
2020-03-17 08:45:26 -04:00
donovaly
c390d64df0 [TD] handle deletions of hatches
- also uniform line endings in ViewProviderLeader.cpp
2020-03-07 19:31:49 -05:00
wmayer
e900384250 declare getMDIView and getMDIViewPage as const 2019-12-29 13:55:39 +01:00
donovaly
15e5b29c22 TD renaming tools, part 2/2
as discussed in https://forum.freecadweb.org/viewtopic.php?p=344899#p344800
we need a more consistent naming for the Wiki
2019-11-17 08:22:09 -05:00
Zheng, Lei
d26f772035 TechDraw: Link related changes
* Support link and group objects

* Support view sync by implementing view provider API getMDIView()

* Use handleChangedPropertyType() for object migration instead of
  reimplementing Restore() because of a lots of changes in
  PropertyContainer::Restore().

* Various other small fixes.
2019-08-17 15:15:46 +02:00
wandererfan
4f3f620720 Coverity fixes
CID 174671
CID 174670
CID 174669
CID 174668
CID 174667
CID 174664
2018-04-23 07:55:38 +02:00
WandererFan
f07d3a177f Fix default GeomHatch weight 2018-02-14 15:42:26 -05:00
WandererFan
75397d9e43 clean up GeomHatch feature, gui & dialog
Refactor code, allow dialog to edit feature, update graphics on change
prep for dash line start positioning.
2017-05-10 17:43:48 +02:00
WandererFan
84b858a142 fix naming conflicts 2017-01-29 19:40:34 -05:00