Commit Graph

30 Commits

Author SHA1 Message Date
Kacper Donat
13fbab9e42 Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
wandererfan
e2441c7079 [TD]add style options for broken view 2024-05-29 14:12:13 -04:00
WandererFan
50f970efd7 [TD]Cosmetic function overhaul (#14216)
* [TD]Cosmetic geometry and tools update

- all cosmetics to store geometry in same form
- all cosmetics to survive scaling and rotation
- extension functions to survive scaling and rotation

* [TD]overhaul leader point storage and editing

- add py routine makeLeader(points)

* [TD]add leader conversion utility

* [TD]Set Leader RotateWithView default to true

* [TD]fix intersection vertex position

* [TD]add CosmeticEdge::makeLineFromCanonicalPoints

* [TD]fix 2 Extension tools

- positioning in DrawCosmeticCircle
- mishandling of points in execLineParallelPerpendicular

* [TD]Remove duplicate constexpr

* [TD]fix 2x Cosmetic arc tools

* [TD]refactor LineFormat out of Cosmetic

* [TD]move cosmetic appearance settings to LineFormat

* [TD]remove 2 unused methods

* [TD]apply format to blue line & circle tools

* [TD]fix ballon arrowhead does not rotate with view

* [TD]fix CosmeticCircle3Points

* [TD]allow multiple cosmetic object deletions

* [TD]fix extend/shorten centerline
2024-05-23 09:41:42 -04:00
wandererfan
ff17df2ff5 [TD]assorted Preference updates
- section line convention label
- remove superfluous save/restore on changeEvent
- change default scrub count
- add preference for default symbol dir
- add preference for display of section cut line
2024-05-19 09:42:47 -04:00
wandererfan
d4e1731716 [TD]Standard Line Styles - Gui components 2023-12-01 11:27:29 -05:00
pavltom
9de796d4e6 [TechDraw] Issue #6527 - Implement face transparency 2023-11-10 10:48:06 -05:00
wandererfan
82db4a3e47 [TD]allow cosmetic deletion via DEL 2023-09-15 11:46:37 -04:00
wandererfan
cb25671863 [TD]fix lost parent on undo 2023-06-24 19:21:25 -04:00
wandererfan
0ff473a9b6 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
Wanderer Fan
aa1193559b [TD]clazy warnings and duplicate setter/getter
- clazy warning re missing Q_OBJECT

- include TechDrawGlobal.h in headers

- resolve duplicate setter/getters
2022-08-18 09:34:32 -04:00
wmayer
c87e1cc1c2 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
Benjamin Bræstrup Sayoc
17bcd06464 [TechDraw] Use inherited unsetEdit
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
aed0346cdb [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-04 10:02:47 -04:00
Uwe
d0ec4aafdc [TD] Gui Headers: remove unused header - part 1 2022-03-25 01:58:33 +01:00
wandererfan
2cfb124ac6 [TD]dialog for Detail #4221 2020-04-08 13:23:28 -04:00
wandererfan
7d7c22cb6e [TD]detail highlight color/style 2020-03-26 12:36:33 -04:00
wandererfan
14e6b19e75 [TD]SectionLine colour property 2020-03-26 12:36:33 -04:00
donovaly
69125f7ef7 [TD] add property for section line style
see https://forum.freecadweb.org/viewtopic.php?f=35&t=44320
2020-03-21 09:46:04 -04:00
donovaly
b9db61533a handle now also section view, detail view and view 2020-03-04 08:24:17 -05:00
donovaly
bb2db008ad TD: add units for line widths
- this also prevents negative values
- also fix an issue in DrawViewBalloon introduced by me recently
2019-12-07 08:37:56 -05:00
wandererfan
d745257cc3 [TD]Add Show/Hide invisible lines tool 2019-07-18 08:53:38 -04:00
wandererfan
fa5fb1ea9c Fix bad highlight position in Detail from ProjGroup 2019-02-22 11:55:21 +01:00
wandererfan
242717f5e3 Fix out of scope warnings
- Links within TD were not set to Global scope. This caused
  problems when a Page was in a container, but Views were not
  in the container.
2019-01-22 10:15:04 -02:00
WandererFan
02b64dca3a VPart/VSection Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan
2ed026e173 reduce use of "execute" on cosmetic changes. 2016-09-11 13:12:24 -04:00
WandererFan
95653cb63d Fix getViewObject inheritance across all ViewProviders 2016-09-11 13:12:24 -04:00
WandererFan
c458760753 Fix #10 View Visibility 2016-07-11 15:32:16 +02:00
WandererFan
05bca371dc more /Drawing/TechDraw/ edits. VP name conflicts 2016-07-11 15:32:16 +02:00
WandererFan
df13886349 Add Mod/TechDraw/Gui 2016-07-11 15:32:16 +02:00