Commit Graph

133 Commits

Author SHA1 Message Date
Max Wilfinger
45897379e6 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
40392c37c4 TechDraw: rename user-facing strings Arch to BIM 2025-01-27 17:58:45 +01:00
Benjamin Nauck
dd6aa9f3c7 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
ed40de3e23 Fix various typos
Found via codespell.
2024-11-15 20:18:46 +01:00
WandererFan
e852052df8 [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
325a2834b1 [TD]fix autoscale loop
- checkfit and autoscale were calculating page size differently
2024-07-29 11:08:59 -05:00
PaddleStroke
4f3bb4e543 TechDraw: Fix child of linked view. 2024-04-18 12:14:10 -04:00
PaddleStroke
fc32946149 TechDraw: Enable App::Links to work with TechDraw views. 2024-04-18 12:14:10 -04:00
pavltom
8a4f13fb16 [TechDraw] Unify Projection Group parent linking 2024-03-16 19:59:49 -04:00
pavltom
d11d3cd7b8 [TechDraw] Reimplement Rich Annotation parent linking 2024-02-26 16:22:30 -05:00
pavltom
c21dca3a21 [TechDraw] Add Owner property to Symbols 2024-02-11 16:03:44 -05:00
pavltom
886c683f65 [TechDraw] Fix DrawView.setPosition signaling changes always 2023-11-16 20:45:02 -05:00
Florian Foinant-Willig
24352a7f4c TechDraw: modernize type checking 2023-10-23 18:08:59 +02:00
wandererfan
49a9442d61 [TD]add label translation for Page and Template 2023-08-17 19:23:29 -04:00
wandererfan
414e06d54d [TD]apply translateLabel after all addObject calls 2023-08-17 19:23:29 -04:00
wandererfan
6595ed01d1 [TD]add view name translation tokens 2023-08-17 19:23:29 -04:00
wandererfan
bb08f70d04 [TD]Add method to translate View labels 2023-08-17 19:23:29 -04:00
Benjamin Bræstrup Sayoc
3f81006ac4 [TechDraw] Simplify return logic
Normal warmup
2023-04-11 13:49:57 -04:00
Benjamin Bræstrup Sayoc
70c9cf0fc0 [TechDraw] Simplify return logic
Easy warmup
2023-04-11 13:00:45 -04:00
Benjamin Bræstrup Sayoc
ef5fc4f237 [TechDraw] Simplify return logic 2023-04-10 23:34:05 -04:00
Benjamin Bræstrup Sayoc
15fe52a04b [TechDraw] Simplify retrievement of user preferences
for all TechDraw files
2023-04-10 23:34:05 -04:00
luzpaz
d28d63b87b TechDraw: header uniformity + trailing whitespace 2023-01-21 20:11:08 -05:00
Uwe
a9ed294765 [TD] remove unused Console include
- no longer used since #8180
2023-01-14 02:39:43 +01:00
wandererfan
12db3618df [TD]remove obsolete log messages 2023-01-13 12:15:33 -05:00
wandererfan
d91edafa62 [TD]fix expression in Scale fails to propagate 2022-12-20 19:08:36 -05:00
wandererfan
5f3c61762c [TD]fix parent page counting
- was returning inflated counts of owning page
2022-12-18 09:42:42 -05:00
wandererfan
53f5883ea1 [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
5ddc6ce789 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
Uwe
061bf91e84 [TD] DrawView*: remove unused includes - part 1
- also sort includes
- also additions to precompiled header
2022-10-07 01:08:38 +02:00
wandererfan
b3dfdc568a [TD]position view within clip group 2022-09-17 09:07:30 -04:00
Wanderer Fan
d14f8cda92 [TD]propagate X,Y changes 2022-09-07 16:06:54 -04:00
wandererfan
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
wmayer
91830933d7 TD: [skip ci] fix warnings of checkers about whitespaces 2022-08-22 08:37:08 +02:00
Wanderer Fan
1494b8288a [TD]use new style QObject::connect 2022-08-21 21:18:26 -04:00
Wanderer Fan
74cdc6db61 [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
b1dd0bd2d0 [TD]add preference for progress reporting 2022-08-18 09:34:32 -04:00
Wanderer Fan
ac63550122 [TD]add progress reporting framework 2022-08-18 09:34:32 -04:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
31bc9f3913 [TD] remove some more superfluous nullptr checks 2022-07-20 02:53:48 +02:00
Uwe
93796e2d92 [TD] App: remove some superfluous nullptr checks 2022-07-19 02:03:50 +02:00
Wanderer Fan
8891394d5a [TD]fix Rotation not applied 2022-06-02 09:09:53 -04:00
Wanderer Fan
d223d4362c [TD]fix double draw on position change 2022-06-02 09:09:53 -04:00
Wanderer Fan
7b79c9697c [TD]prevent spurious recompute on click/drag 2022-05-29 13:19:34 -04:00
Wanderer Fan
bfecd1359b [TD]fix checkFit to use current scale 2022-05-22 18:03:44 -04:00
Wanderer Fan
ccc8ac65c5 [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
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
c9f6aea463 [TD]fix default scale 2022-03-18 08:21:21 -04:00
Wanderer Fan
aa4ba37a6c [TD]fix update suppression logic 2022-03-16 09:31:29 -04:00
Wanderer Fan
ed82b361bf [TD]fix getScale should be Scale.getValue 2022-03-11 11:59:31 -05:00
Wanderer Fan
bbffb3f413 [TD]handle ScaleType in old documents 2022-03-10 09:25:52 -05:00