Commit Graph

31 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
4e95213e0a TechDraw: centralize usertype constants 2025-05-25 20:42:02 +02:00
Benjamin Bræstrup Sayoc
351feb132a Remove magic number and hard type enums in ArrowPropEnum.h
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-03-02 17:14:24 +01:00
wandererfan
ca2b9dc8d8 [TD]allow override of Balloon drag modifier (fix #15388) 2024-09-17 21:40:50 -04:00
Benjamin Bræstrup Sayoc
fa6c81d23e [TechDraw] Fix uncentered balloon label 2024-09-11 20:04:30 -04:00
wandererfan
042733d975 [TD]fix balloon drag on rotated view (fix #15726) 2024-09-02 17:47:40 +02:00
Tomas Pavlicek
1cf7861b51 [TechDraw] Implement proper selection of subitems (#11804) 2023-12-22 08:25:58 -05:00
wmayer
ed251a914b TD: modernize C++: use override 2023-08-04 17:09:53 +02:00
wandererfan
0e402ae075 [TD]add light text on dark page mode
- some visually impaired users need white graphics on
  dark page.

- revise Annotation dialog to respect dark style
2023-01-03 17:41:33 -05:00
Uwe
7a2d0037ff [TD] QGIView*: remove unused includes
- also some sorting
2022-12-04 04:21:01 +01:00
wandererfan
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
Wanderer Fan
fdfc73fe93 [TD]remove precompiled from *.h 2022-08-14 09:20:38 -04:00
Benjamin Bræstrup Sayoc
71758ecf9b [TechDraw] Clean up precompile in Gui 2022-08-14 09:20:38 -04:00
Benjamin Bræstrup Sayoc
b498e85f43 [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-12 18:13:52 -04:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Wanderer Fan
a799a5db66 [TD]fix Dimension/Balloon movement 2022-06-02 16:33:25 -04:00
Uwe
b25d7ad48d [TD] Gui Headers: remove unused header - part 4/4 2022-03-25 03:43:44 +01:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
donovaly
5932bbd6a6 [TD] fix dragging of balloons
as reported in https://forum.freecadweb.org/viewtopic.php?f=10&t=55109&start=30#p478147
dragging a balloon pollutes the undo steps destroying working with undo and drawings.
2021-02-15 22:28:13 +01:00
wandererfan
b298e78624 [TD]remove obsolete QPointF (LGTM) 2020-07-26 19:45:49 -04:00
wandererfan
f4233cadb3 [TD]fix Balloon coordinates 2020-03-07 19:29:57 -05:00
wandererfan
96ad0d9f37 [TD]Balloon ends and kink 2020-01-16 07:35:37 -05:00
wandererfan
7580c05504 [TD]fix Dimension selection issues 2019-12-31 17:28:41 -05:00
WandererFan
864fa1dc55 [TD]support Pyramid in Balloon 2019-12-31 08:11:40 -05:00
wandererfan
956a5ddbae [TD]fix Balloon text positioning 2019-11-04 19:03:22 -05:00
wandererfan
fbfdb69c20 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
e759f91d68 Fix Balloon Next Index Persistance
- next sequential number for balloon on Page was
  not being preserved across save/restore
2019-05-25 18:44:35 +02:00
Franck Jullien
bcfbd990a7 [TD] Add TaskPanel for Balloons
TaskPanel can be open by double clicking either Balloon label on drawing
page or Balloon object in tree view.
2019-05-22 12:50:47 -04:00
Franck Jullien
79f8d4a7cd [TD] Rewrite balloon placing method
When clicking on balloon command, cursor is changing to balloon cursor.
It means user is ready to place a balloon (anywhere on the page).
Balloon object is not created until user click somewhere.

Balloon command can be aborted pressing escape or when page view lost
focus (in other words, when user clic somewhere else than the page).
2019-05-21 08:37:05 -04:00
wandererfan
764a3113b8 DrawBalloon clean up
- resolve linker errors after merge
- expose useful properties
- resolve "ambiguous ancestor" messages after merge
2019-04-05 19:35:26 -04:00
Franck Jullien
c5942d6a78 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00