Commit Graph

14 Commits

Author SHA1 Message Date
wandererfan
3d7db8fb83 [TD] Use isProjectGroupItem() in remaining cases
- isDerivedFrom<DrawProjGroupItem>() is no longer reliable due to smart
  view creation changes.
2025-09-30 13:56:45 -05:00
Markus Reitböck
0019739095 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
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
PaddleStroke
2960c4e57a Fix typo introduced by solving conflict. 2024-04-22 17:16:50 +02:00
PaddleStroke
55fbbb5d6e TechDraw: Insert tool insert DrawViewProjGroupItem that can then be transfered into groups and back. 2024-04-22 15:53:14 +02:00
PaddleStroke
4f3bb4e543 TechDraw: Fix child of linked view. 2024-04-18 12:14:10 -04:00
PaddleStroke
156ae209f5 TechDraw: Fix child not moving when drag and dropping a view between pages. 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
ppphp
c014ab7a4e fix: some unuse argument warning 2024-03-31 10:47:32 +02:00
PaddleStroke
843dd55dd4 TechDraw: Enable dragging and dropping of views between pages. 2024-03-25 13:17:46 -04:00
Uwe
f8db7e9187 [TD] remove unused headers (#8155)
* [TD] remove unused headers

- also some sorting
- also improve readability by not using an abbreviation (we consistently don't abbreviate class names)
2023-01-09 14:55:22 +01:00
Uwe
3c610a6c61 [TD] final fix of compilation after #8141
- in DimensionValidators.h the declarations must not be with TechDrawExport
- add missing precompiled headers

- also fix too long lines (fixed by clang)
- also some re-sorting
- also remove unused headers
2023-01-09 12:48:15 +01:00
wandererfan
d1cf5f9c88 [TD]fix Win link error in ViewProvider extensions 2023-01-02 13:49:50 -05:00
wandererfan
da06fc45a2 [TD]add extensions for drag and drop 2022-12-27 19:43:44 -05:00