Commit Graph

152 Commits

Author SHA1 Message Date
wandererfan
17b4b4a24b [TD]fix uncommanded leader position change 2025-09-26 21:24:49 -05:00
Markus Reitböck
63ab3de853 TechDraw: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
 should be considered an optimization, not a requirement. In particular, do not explicitly include a
 precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
 generated precompile header on the compiler command line instead. This is more portable across
 the major compilers and is likely to be easier to maintain. It will also avoid warnings being
 generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 00:50:59 +02:00
Ryan K
0d848fcfa1 TechDraw: Fix tree view selection not showing on page (#23593) 2025-09-11 12:35:19 -05:00
luzpaz
f7f8ac1552 TechDraw: remove trailing whitespace 2025-08-30 22:10:14 -05:00
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 Kembrey
e0fed351b3 TechDraw: Fix frames resizing on select/hover 2025-08-22 16:36:31 +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
bofdahof
ba2c2ca5ad Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Kacper Donat
b999ce0336 TechDraw: Use freecad_cast whenever possible 2025-04-26 14:23:25 +02:00
bofdahof
479e6ad708 TechDraw: apply std::ranges 2025-03-16 17:18:23 -05:00
Chris Hennes
201015fd70 Merge pull request #19502 from benj5378/QStringLiteral
Use QStringLiteral
2025-02-11 07:34:12 -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
Benjamin Bræstrup Sayoc
9a8bdbaf9f TechDraw: Use QStringLiteral 2025-02-10 18:32:44 +01:00
tritao
551c2e48fb Gui: Reorganize the selection files into a top Selection folder. 2025-02-03 17:56:57 +01:00
wandererfan
ca2b9dc8d8 [TD]allow override of Balloon drag modifier (fix #15388) 2024-09-17 21:40:50 -04: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
3375bbfb8e TechDraw: Snap: disable snap if ALT is pressed. 2024-06-25 09:16:51 -05:00
wandererfan
9334092c9f [TD]fix scene and tree selection sync 2024-06-17 19:31:56 -04: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
wandererfan
f530f1a5c8 [TD]fix fail on undo of cosmetic delete 2024-03-27 13:23:45 -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
ed3a1a6184 [TechDraw] Reimplement Rich Annotation parent linking 2024-02-26 16:22:30 -05:00
pavltom
ff14c58ccc [TechDraw] Add Owner property to Symbols 2024-02-11 16:03:44 -05:00
wandererfan
4e6dc1ca50 [TD]fix positioning of secondary views 2024-01-01 13:45:30 -05:00
Tomas Pavlicek
1cf7861b51 [TechDraw] Implement proper selection of subitems (#11804) 2023-12-22 08:25:58 -05:00
wandererfan
b8bea76481 [TD]spelling in comments 2023-11-26 16:42:06 -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
35618ef606 [TechDraw] Refactor QGIView and QGIPrimPath mouse processing 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
wandererfan
a8cc561396 [TD]apply translateLabel after all addObject calls 2023-08-17 19:23:29 -04:00
Chris Hennes
b36e78658e TechDraw: Translate direction labels 2023-04-22 09:31:40 -04:00
wandererfan
c9c872d187 [TD]fix oversight in PR9129 2023-03-31 20:14:38 -04:00
Benjamin Bræstrup Sayoc
8196ca323e Improve readability of QGIView.cpp 2023-03-31 08:45:05 -04:00
wandererfan
8a11528a7e [TD]corrupt dim reference detect and correct 2023-03-22 20:09:35 -04:00
wandererfan
aa93708439 [TD]skip center marks for view frame 2023-03-16 10:37:14 -04:00
wandererfan
437457e996 [TD]remove obsolete log messages 2023-01-13 12:15:33 -05: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
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
e97b95341a [TD]code clean ups
- QtConcurrent include and CMake for Win

- include clean up dvp, dvs, dvd

- variable names and nested if clean up

- remove debug code
2022-08-18 09:34:32 -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