Commit Graph

86 Commits

Author SHA1 Message Date
wandererfan
091d9c34af [TD]add properties for detail highlight and matting 2023-12-17 08:37:19 -05:00
wandererfan
9cb4745f38 [TD]handle loose geometry via HLR 2023-12-03 08:55:59 -05:00
Florian Foinant-Willig
24352a7f4c TechDraw: modernize type checking 2023-10-23 18:08:59 +02:00
André Caldas
695a314229 TechDraw: creates closure for concurrent thread context.
We use a lambda function with a copy of variables
that might be destructed in the original calling thread,
possibly producing dangling references.

See: https://forum.freecad.org/viewtopic.php?t=81260
2023-09-20 09:26:15 -04:00
wandererfan
a51e46775f [TD]fix 10013 detail of sketch 2023-08-20 12:25:12 -04:00
wandererfan
3e164a5700 [TD]split GeometryObject 2023-08-18 15:18:42 -04:00
wandererfan
a379f17b1c [TD]provide result of detail to other views 2023-08-10 10:17:22 -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
wmayer
a9694e1878 TD: port to Qt6
* in QtConcurrent::run the order of 1st and 2nd argument are swapped
* QtConcurrent::run asserts that the argument of the passed function pointer is not non-const
* Used methods of QFontDatabase are static in Qt5 and Qt6
* QTextStream::setCodec() has been removed in Qt6
* Argument of enterEvent() has changed from QEvent to QEnterEvent
* QTextCharFormat::setFamily() is deprecated
2023-03-16 09:17:39 -04:00
wandererfan
af3c057f99 [TD]make detail highlight interactive
- drag detail highlight to change detail anchor point
- change detail reference position using HighlightAdjust property
2022-12-28 09:41:44 -05:00
wandererfan
47ef35047b [TD]detail of rotated ComplexSection 2022-12-18 09:42:42 -05: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
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
wandererfan
4310b49a8b [TD]replace GeometryObject only after all changes are done 2022-08-28 15:52:23 -04:00
wandererfan
4bdbacda75 [TD]clazy warning re 3 parameter QObject::connect 2022-08-28 15:52:23 -04:00
Wanderer Fan
4ad52a5778 [TD]use Label in waiting for thread message 2022-08-21 21:18:26 -04:00
Wanderer Fan
1494b8288a [TD]use new style QObject::connect 2022-08-21 21:18:26 -04:00
Wanderer Fan
644b4991e2 [TD]code review changes for dvp and dvd 2022-08-18 19:43:04 -04:00
Wanderer Fan
2d7d882235 [TD]prevent running threads on object delete 2022-08-18 09:34:32 -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
f12846599d [TD]fix detail of section not displayed on restore 2022-08-18 09:34:32 -04:00
Wanderer Fan
6df801ed96 [TD]respect AutoDistribute on load 2022-08-18 09:34:32 -04:00
Wanderer Fan
a2b09d37c5 [TD]move section cut and detail common to thread 2022-08-18 09:34:32 -04:00
Wanderer Fan
7e701969af [TD]run hlr and extractFaces in threads 2022-08-18 09:34:32 -04:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
c9b709d814 [TD] remove unnecessary nullptr checks 2022-07-26 00:28:57 +02:00
Benjamin Bræstrup Sayoc
6ed38eeb99 [TechDraw] Improve readability of DrawViewDetail.cpp
[TechDraw] Improve readability of DrawViewDimension.cpp

[TechDraw] Improve readability of DrawViewDimExtent.cpp

[TechDraw] Improve readability of DrawViewDraft.cpp

[TechDraw] Improve readability of DrawViewImage.cpp

[TechDraw] Improve readability of DrawViewMulti.cpp
2022-07-20 16:44:26 -04:00
Uwe
93796e2d92 [TD] App: remove some superfluous nullptr checks 2022-07-19 02:03:50 +02:00
wmayer
23eb600774 TD: fixes warning: local variable will be copied despite being returned by name [-Wreturn-std-move] 2022-04-17 17:21:37 +02:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
02155296ce [TD]fix spelling mistake in comment for CI 2022-03-14 20:03:08 -04:00
Wanderer Fan
8f1bd5340b [TD]fix DetailView alignment 2022-03-14 20:03:08 -04:00
Wanderer Fan
7c6a7aa25b [TD]fix detail highlight on DrawViewDetail 2022-03-14 20:03:08 -04:00
Wanderer Fan
913fb21502 [TD]fix misplaced section line
- BRepBndLib::Add results in wrong bbox center.
- replaced with BRepBndLib::AddOptimal
2022-03-03 09:31:29 -05:00
Wanderer Fan
309a1455cb [TD]Fix 4486 allow detail view of Base with no solids 2022-02-01 09:15:00 -05:00
wandererfan
ff66708c35 [TD]Detail default scale 2020-06-20 12:36:54 -04:00
donovaly
74b2321cbf Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork 2020-05-09 01:36:49 +02:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
donovaly
19e171c5d7 Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork 2020-04-20 01:07:35 +02:00
WandererFan
8a7ebe6fad [TD]Piecewise Detail Algo 2020-04-19 09:17:28 -04:00
donovaly
e0793779a8 DrawViewDetail: remove unwanted commit 2020-04-18 14:59:28 +02:00
donovaly
6d06bdffb5 [TD] some Detail View fixes
see https://forum.freecadweb.org/viewtopic.php?f=35&t=45236&p=388925#p388925 for a description of the changes
2020-04-18 14:56:01 +02:00
wandererfan
b44044f95b [TD]dialog for Detail #4221 2020-04-08 13:23:28 -04:00
wandererfan
ebc6536ce8 [TD]remove highlight on deletion of detail 2020-03-26 12:36:33 -04:00
donovaly
be694170a5 [TD] Detail view - add missing update
- now changes of the BaseView and to the anchor coordinates are directly shown
2020-03-26 08:08:06 -04:00
wandererfan
0825e5ece4 [TD]Support Landmark Dim in Section and Detail 2020-02-25 17:21:00 -05:00
wandererfan
48fc14efcb [TD]2 pass autoscale for DVD, DVS 2020-02-14 07:44:56 -05:00
luz.paz
cbdba0b5bb TD: fix header uniformity
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
wandererfan
9381d4cb9f [TD]Handle missing XDirection on old files 2019-11-27 07:31:45 -05:00
wandererfan
cd2764fcb9 [TD]let DVD fail gracefully 2019-11-27 07:31:45 -05:00