Commit Graph

80 Commits

Author SHA1 Message Date
WandererFan
e256ff3c3d [TD]Fix no delete of cosmetic in clip group (#22838)
* [TD]Fix no delete of cosmetic in clip group

* [TD]lint clean up
2025-08-24 20:55:55 -05:00
theo-vt
ff92789719 Techdraw: Undo/redo when dragging views and rework projection group drag (#22875)
* TechDraw: create a transaction when finished dragging a view

* TechDraw: drag projection group when dragging a subview in AutoDistribute is enabled

* TechDraw: avoid creating 'Drag View' transaction if the document is already in a transaction

* TechDraw: Apply suggestions from code review

---------

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-08-24 08:36:41 +02:00
Ryan K
9fff6e905c TechDraw: Rework view frames (#22869)
Co-authored-by: Ryan Kembrey <ryan.kembrey@student.uts>
2025-08-11 11:04:58 -05:00
Benjamin Bræstrup Sayoc
4e95213e0a TechDraw: centralize usertype constants 2025-05-25 20:42:02 +02:00
Andrea
146d8a356b change MIN_boost_version
ubuntu version 20.04 is no longer supported.
The minimum boost version used for freecad is now 1.74 (ubuntu 22.04) https://launchpad.net/ubuntu/jammy/+package/libboost-system-dev
2025-02-15 13:33:32 -06:00
Benjamin Bræstrup Sayoc
02c300669f [TechDraw] Add ability to align points by rotating view
Fixes #7061
2025-02-10 19:31:39 -05:00
WandererFan
140bcf605e [TD]Fix section snapping (fix #15961) (#15450)
* [TD]Add view snapping preferences

* [TD]fix section snapping algo

- snap sections to section normal line.
- snap views to other views in X&Y

* [TD]fix snapping to ProjectionGroups
2024-09-02 18:41:25 +02:00
PaddleStroke
127ee90cec TechDraw: Enable snapping section views to their base views. 2024-05-27 11:44:31 -04:00
PaddleStroke
94d3fa45db TechDraw: Enable snapping views to align them with other views vertically and horizontally. 2024-05-27 11:44:31 -04:00
pavltom
1ead8c6f0f [TechDraw] Unify Projection Group parent linking 2024-03-16 19:59:49 -04:00
pavltom
b12583e536 [TechDraw] Reimplement Leader Line parent linking 2024-03-04 15:35:06 +01:00
pavltom
ff14c58ccc [TechDraw] Add Owner property to Symbols 2024-02-11 16:03:44 -05:00
Tomas Pavlicek
1cf7861b51 [TechDraw] Implement proper selection of subitems (#11804) 2023-12-22 08:25:58 -05:00
pavltom
3876f23f4d [TechDraw] Multiselection mode implementation 2023-11-16 20:45:02 -05:00
pavltom
4703c77067 [TechDraw] Remove obsolete getYInClip method 2023-11-16 20:45:02 -05:00
pavltom
095160d438 [TechDraw] Remove nowhere used m_dragState 2023-11-16 20:45:02 -05:00
pavltom
e2cc18eb8d [TechDraw] Remove now unused SelectPoint signal relics 2023-11-16 20:45:02 -05:00
wandererfan
acd557f60a [TD]#11091 - fix issue 1 getQGVPage() 2023-10-19 10:07:48 -04:00
wmayer
ed251a914b TD: modernize C++: use override 2023-08-04 17:09:53 +02:00
luz paz
2d94a99740 TechDraw: remove trailing whitespace 2022-11-15 16:17:22 +01:00
wandererfan
d8be4398e3 [TD]implement view stacking 2022-09-07 16:06:54 -04:00
Wanderer Fan
99f2820712 [TD]fix Text sizes not exact 2022-09-07 16:06:54 -04:00
wandererfan
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -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
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
wmayer
e84f1ef14e TD: minor fixes:
* remove superfluous semi-colons
* if a method is declared override then the keyword virtual should be dropped
2022-06-26 15:51:43 +02:00
Wanderer Fan
db89eec8e3 [TD]implement navigation styles 2022-06-24 10:03:02 -04:00
Wanderer Fan
a799a5db66 [TD]fix Dimension/Balloon movement 2022-06-02 16:33:25 -04:00
Wanderer Fan
3f34fff3c3 [TD]prevent spurious recompute on click/drag 2022-05-29 13:19:34 -04:00
wmayer
ccc0d54d97 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
Uwe
b25d7ad48d [TD] Gui Headers: remove unused header - part 4/4 2022-03-25 03:43:44 +01:00
wandererfan
2cfb124ac6 [TD]dialog for Detail #4221 2020-04-08 13:23:28 -04:00
wandererfan
303335e8af [TD]accept QGraphicsItem from Python 2020-03-12 07:58:38 -04:00
wandererfan
b5ea5ed31e [TD]fix crash on Dim delete
- adjust index/cache options to avoid "dirty" screen
  region errors.
- may be masking missing "prepareGeometryChange"
2020-03-06 13:56:38 -05:00
wandererfan
7580c05504 [TD]fix Dimension selection issues 2019-12-31 17:28:41 -05:00
wandererfan
983c038949 [TD] remove obsolete code 2019-12-26 08:56:21 -05:00
wandererfan
e64929de14 [TD]const-ness for dump function parameter 2019-11-10 15:58:45 -05:00
Tomas Pavlicek
39518f8dff Complete remake of drawing dimensions 2019-09-25 15:20:14 +02:00
wandererfan
7cb2713e8c [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00
Tomas Pavlicek
068ef5b0a9 TechDraw: SVG export refactoring - Keep correct font sizes 2019-06-11 15:46:46 -04:00
wandererfan
6fb21ee8bc Fix overlap of line ends and arrowheads 2019-06-04 06:59:17 -04:00
Tomas Pavlicek
3e7249318f TechDraw: Fix font size issues when exporting to SVG 2019-05-27 22:18:14 -04:00
wandererfan
fc904288a5 Fix point edit when attach point changed 2019-05-24 22:18:32 -04:00
wandererfan
925145a8b7 Fix #3695 Frame toggle sync 2019-05-13 12:29:15 -04:00
wandererfan
abf419f68c Text Leader initial version 2019-05-05 21:01:31 -04:00
wandererfan
b09ab03724 Fix handling of Visibility property on Restore 2019-04-29 14:19:41 -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
wandererfan
3a37fed62a Add Indicator for PositionLocked state 2019-04-01 23:46:34 +02:00