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
wandererfan
c1df1c73a0
[TD]fix hidden line regression,
2025-05-05 21:26:35 -05:00
Benjamin Bræstrup Sayoc
2aba9a86ce
TechDraw: fix wrong color on edges
...
Fixes #20561
2025-04-07 12:05:53 +02:00
Benjamin Bræstrup Sayoc
aead9ac8c7
TechDraw: remove unneeded state from QGIPrimPath
2025-03-13 13:41:59 +01:00
Kacper Donat
a72a63232a
Base: Move App::Color to Base
...
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +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
wandererfan
81bd0c6d2b
[TD]fix line style regression from #17331
2024-10-28 09:47:14 -05:00
wandererfan
10b9229492
[TD]fix fail on undo of cosmetic delete
2024-03-27 13:23:45 -04:00
wandererfan
762e1b53ff
[TD]Standard Line Styles - Gui components
2023-12-01 11:27:29 -05:00
wandererfan
9a7163f533
[TD]fix 2 tidy warnings
2023-10-31 09:12:50 -04:00
pavltom
ded89f5e8f
[TechDraw] - Line Decoration Improvements
2023-10-26 14:30:36 -04:00
wandererfan
5c602bbc58
[TD]fix loss of line style
2023-10-26 14:07:46 -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
wandererfan
d63ac0f7f6
[TD]add light text on dark page mode
...
- some visually impaired users need white graphics on
dark page.
- revise Annotation dialog to respect dark style
2023-01-03 17:41:33 -05:00
Uwe
8b5fc633a9
[TD] QGIA - QGIH:remove unused includes
...
- also some sorting
2022-12-04 03:10:56 +01:00
wandererfan
acf17905ed
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
Benjamin Bræstrup Sayoc
9905e17ba1
[TechDraw] Remove uneeded redefinitions of inherited functions
2022-08-12 18:13:52 -04:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
97330443a2
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
da6b379566
fixes #0004318 : Compilation fails with Qt 5.15 beta with QPainterPath errors [skip ci]
2020-07-02 13:19:43 +02:00
wandererfan
e80c576241
[TD]Centralize preference getters
2020-04-24 11:13:49 -04:00
wandererfan
b4943c1f08
[TD]fix HiddenLine style pref
2020-02-14 07:44:56 -05:00
wandererfan
4b853ab9f6
[TD]Fix selection highlight for QGIPrimPath children
2019-09-09 15:40:39 -04:00
wandererfan
992ef1b07e
[TD]Welding Symbol creation
2019-08-22 17:11:55 -04:00
wandererfan
5970e91ef2
[TD]Py Cosmetic Vertex, Line, Circle Arc
2019-07-15 12:36:48 -04:00
wandererfan
7b4bc50e5c
Make Edge Selection Area Adjustable
...
- Edges may be difficult to select depending on drawing
scale and zoom level.
- Parameter: Preferences/Mod/TechDraw/General/EdgeFuzz
2018-12-06 08:57:56 -03:00
wandererfan
860ad6b913
Use Stroker to generate Edge selection area
2018-07-11 21:17:03 -03:00
wandererfan
eefaaa58db
Eliminate some redundant executes
...
- excessive calls to DrawView::execute were
slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -03:00
wandererfan
4880eff86d
Sync code default values with Pref defaults
2018-03-11 21:33:59 +01:00
WandererFan
bcb1534391
Add 2nd page of preferences
2016-11-24 14:44:37 -02:00
WandererFan
b27a526cd6
remove unnecessary includes
...
remove obs code
remove obs initializations
2016-09-28 20:24:47 -04:00
WandererFan
fa57b7a5de
Fix dimension highlighting problems
...
Derived all lines from PrimPath
2016-08-16 14:29:15 +02:00
WandererFan
2c8f497292
Get user prefs at time of use
2016-07-14 15:55:57 -04:00
WandererFan
8d859c91e1
Fix Vertex hover behaviour
...
Refactor to reduce duplicate code
Fix Section face color mix on hover
2016-07-11 15:32:16 +02:00
WandererFan
6cec1df189
Working Face selection
2016-07-11 15:32:16 +02:00
WandererFan
3b96cbbeb6
wmayer patch for Win & OCC7 compat
2016-07-11 15:32:16 +02:00
WandererFan
c32d71c47f
Add more preferences
2016-07-11 15:32:16 +02:00
WandererFan
8cbd6d0b23
Section face positioning/display
2016-07-11 15:32:16 +02:00
WandererFan
ccdb56c06e
use Mod/TechDraw for preferences
2016-07-11 15:32:16 +02:00
WandererFan
a9d6f1568b
/QGI/QGraphicsItem/
2016-07-11 15:32:16 +02:00
WandererFan
7c009c6def
Add Mod/TechDraw/Gui
2016-07-11 15:32:16 +02:00