Benjamin Bræstrup Sayoc
ee11eb188f
Remove magic number and hard type enums in DrawViewDimension.h
...
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-03-02 17:14:24 +01:00
Benjamin Bræstrup Sayoc
835905f76e
TechDraw: Use QStringLiteral
2025-02-10 18:32:44 +01:00
tritao
65466d580b
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
PaddleStroke
fc32946149
TechDraw: Enable App::Links to work with TechDraw views.
2024-04-18 12:14:10 -04:00
wmayer
2a970b3045
clang: fix -Wunused-but-set-variable
2023-03-12 15:05:21 +01:00
wmayer
25a63f8750
TD: move to new style connect()
2023-02-01 01:33:34 +01:00
Uwe
cbd0140dcd
[TD] Task*, part 2/2: remove unused includes
...
- also some sorting
- also take care of PreCompiled.h
2022-12-07 19:49:05 +01:00
wandererfan
acf17905ed
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
berniev
b796a0d376
Mod: use empty
2022-08-06 19:30:13 +02:00
Benjamin Bræstrup Sayoc
c85e6d2d73
[TechDraw] Improve readability of TaskLineDim.cpp
2022-07-15 11:31:11 -04:00
wmayer
a99be14233
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Roy-043
08aa7154c1
TechDraw: Changed "TechDraw_Dimension_Link" -> "TechDraw_LinkDimension" ( #5032 )
...
* Update and rename TechDraw_Dimension_Link.svg to TechDraw_LinkDimension.svg
Icon name should match the command name.
2021-09-15 10:08:09 -05:00
donovaly
b5f57ed2f0
[TD] make pointers to the UI std::unique_ptr
...
as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.
This PR does this for all TD dialogs that don't already use a unique_ptr.
2021-01-19 19:24:27 +01:00
Aapo
31d6c7528d
Refactor code in DrawViewDimension::getRefType() shorter and simpler. No functional change except subelement sizes > 3 are supported, even though they are not supposed to happen.
2020-11-19 13:40:42 +01:00
Zheng, Lei
d26f772035
TechDraw: Link related changes
...
* Support link and group objects
* Support view sync by implementing view provider API getMDIView()
* Use handleChangedPropertyType() for object migration instead of
reimplementing Restore() because of a lots of changes in
PropertyContainer::Restore().
* Various other small fixes.
2019-08-17 15:15:46 +02:00
wmayer
df8f7cfb7e
fix CIDs 154873, 154874, 153875, 153876, 154883, 154884, 154886
2016-12-18 13:27:34 +01:00
WandererFan
256c5ed198
Allow True dimensions to reference multiple Parts
2016-11-07 17:20:20 -05:00
WandererFan
6abce56595
Dimension fixes
...
Prevent _M_range_check on wrong selection
Allow unlinking of linked Dimension
Allow Horiz/Vert projected Dims
Improve error msg for invalid selction
2016-10-31 11:06:15 -02:00
wmayer
c457fc468c
fix -Wextra & -Wdeprecated in TechDraw
2016-09-22 19:32:16 +02:00
WandererFan
19968205d2
Include file cleanup per cppclean analysis
2016-07-14 14:39:06 +02:00
WandererFan
0ee878fa47
Correct Radius Dim leader behaviour
2016-07-11 15:32:16 +02:00
WandererFan
d73ffaa55b
Preserve True/Projected state on save/restore
2016-07-11 15:32:16 +02:00
WandererFan
7f7e63dfe0
link Dimension to 3D geometry
2016-07-11 15:32:16 +02:00