Commit Graph

136 Commits

Author SHA1 Message Date
Benjamin Nauck
738bc95fa2 TechDraw: Add #include <limits> where used 2025-03-31 23:53:03 +02:00
jonzirk76
9ac7e6d17c TechDraw: remove double type checking
Fixes #20131
2025-03-30 10:42:08 -05:00
Benjamin Nauck
cf94011294 Techdraw: Use std::numeric_limits and std::numbers instead of defines 2025-03-29 13:32:39 +01:00
Max Wilfinger
5925c7a560 Merge pull request #19097 from hyarion/refactor/template-based-is-derived-from
Simplify code by using BaseClass' isDerivedFrom<> and is<>
2025-01-27 20:40:08 +01:00
marcuspollio
d72124f86a TechDraw: rename user-facing strings Arch to BIM 2025-01-27 17:58:45 +01:00
Benjamin Nauck
6f535f19fb Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
luzpaz
a633be7342 Fix various typos
Found via codespell.
2024-11-15 20:18:46 +01: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
wandererfan
3bc2dde5bd [TD]fix autoscale loop
- checkfit and autoscale were calculating page size differently
2024-07-29 11:08:59 -05:00
PaddleStroke
60290a2a34 TechDraw: Fix child of linked view. 2024-04-18 12:14:10 -04:00
PaddleStroke
4d84efb061 TechDraw: Enable App::Links to work with TechDraw views. 2024-04-18 12:14:10 -04:00
pavltom
1ead8c6f0f [TechDraw] Unify Projection Group parent linking 2024-03-16 19:59:49 -04: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
pavltom
5a6c3b2606 [TechDraw] Fix DrawView.setPosition signaling changes always 2023-11-16 20:45:02 -05:00
Florian Foinant-Willig
1d8a51b47b TechDraw: modernize type checking 2023-10-23 18:08:59 +02:00
wandererfan
d69551eccb [TD]add label translation for Page and Template 2023-08-17 19:23:29 -04:00
wandererfan
a8cc561396 [TD]apply translateLabel after all addObject calls 2023-08-17 19:23:29 -04:00
wandererfan
6c0f8728bb [TD]add view name translation tokens 2023-08-17 19:23:29 -04:00
wandererfan
f4180658dc [TD]Add method to translate View labels 2023-08-17 19:23:29 -04:00
Benjamin Bræstrup Sayoc
a93060c6b9 [TechDraw] Simplify return logic
Normal warmup
2023-04-11 13:49:57 -04:00
Benjamin Bræstrup Sayoc
6df0a20214 [TechDraw] Simplify return logic
Easy warmup
2023-04-11 13:00:45 -04:00
Benjamin Bræstrup Sayoc
3794897699 [TechDraw] Simplify return logic 2023-04-10 23:34:05 -04:00
Benjamin Bræstrup Sayoc
5d05acc87e [TechDraw] Simplify retrievement of user preferences
for all TechDraw files
2023-04-10 23:34:05 -04:00
luzpaz
91a336b659 TechDraw: header uniformity + trailing whitespace 2023-01-21 20:11:08 -05:00
Uwe
c792e7b6c5 [TD] remove unused Console include
- no longer used since #8180
2023-01-14 02:39:43 +01:00
wandererfan
437457e996 [TD]remove obsolete log messages 2023-01-13 12:15:33 -05:00
wandererfan
99114448b6 [TD]fix expression in Scale fails to propagate 2022-12-20 19:08:36 -05:00
wandererfan
fbc458df66 [TD]fix parent page counting
- was returning inflated counts of owning page
2022-12-18 09:42:42 -05:00
wandererfan
1349a7120a [TD]fix handling of multiple pages
- the routines for retrieving a view's parent page
  did not correctly deal with duplicate page entries
2022-11-14 16:38:27 -05:00
wandererfan
0ff473a9b6 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
Uwe
44a91217a2 [TD] DrawView*: remove unused includes - part 1
- also sort includes
- also additions to precompiled header
2022-10-07 01:08:38 +02:00
wandererfan
5cae6597b3 [TD]position view within clip group 2022-09-17 09:07:30 -04:00
Wanderer Fan
24c6e9ada1 [TD]propagate X,Y changes 2022-09-07 16:06:54 -04:00
wandererfan
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
wmayer
70cdbcb9ad TD: [skip ci] fix warnings of checkers about whitespaces 2022-08-22 08:37:08 +02:00
Wanderer Fan
81949d0817 [TD]use new style QObject::connect 2022-08-21 21:18:26 -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
459dde957c [TD]add preference for progress reporting 2022-08-18 09:34:32 -04:00
Wanderer Fan
ae3a955877 [TD]add progress reporting framework 2022-08-18 09:34:32 -04:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
5486c9808d [TD] remove some more superfluous nullptr checks 2022-07-20 02:53:48 +02:00
Uwe
36add10c86 [TD] App: remove some superfluous nullptr checks 2022-07-19 02:03:50 +02:00
Wanderer Fan
9194d5c596 [TD]fix Rotation not applied 2022-06-02 09:09:53 -04:00
Wanderer Fan
78c22e33de [TD]fix double draw on position change 2022-06-02 09:09:53 -04:00
Wanderer Fan
3f34fff3c3 [TD]prevent spurious recompute on click/drag 2022-05-29 13:19:34 -04:00
Wanderer Fan
68ca847c56 [TD]fix checkFit to use current scale 2022-05-22 18:03:44 -04:00
Wanderer Fan
67ac6019eb [TD]fix X,Y change propagation
- X,Y changes to object1 were not propagated to
  object2 linked by expression
2022-05-02 17:51:51 -04:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
218f58b4f9 [TD]fix default scale 2022-03-18 08:21:21 -04:00