Commit Graph

15 Commits

Author SHA1 Message Date
Markus Reitböck
6ef07bb358 Gui: 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-14 09:47:03 +02:00
wmayer
3e33f184b4 Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
2024-08-26 18:14:22 +02:00
wmayer
c016f1c1fb Gui: modernize C++: use equals default 2023-08-20 18:12:43 +02:00
wmayer
0af4990817 modernize C++: make unique 2023-08-07 19:51:30 -06:00
wmayer
bb23aaf3e9 Core: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
berniev
6ac4d8392e Gui: use emplace_back 2022-08-05 10:33:41 +02:00
Uwe
8dfe91204b [Gui] ViewProviderPython* etc.: remove unused includes 2022-03-06 02:24:52 +01:00
luz.paz
f11783a498 src/Gui: [skip ci] fix header uniformity
This PR fixes header uniformity across all `src/Gui` files
2019-12-25 11:39:17 +01:00
vocx-fc
92fa38152e Gui: better icon for the Origin object
During the LinkMerge, a new icon
`Std_CoordinateSystem.svg` was used
for the `App::Origin` object that appears in
`PartDesign::Body`. However, this icon
doesn't look as good as the original `CoordinateSystem.svg`.

This commit renames the old icon to the new name. The newer icon
is kept as an alternate version `Std_CoordinateSystem_alt.svg`.

In addition, a new icon `Std_Placement.svg`
is provided for the `App::Placement` object, which previously
was also using `CoordinateSystem.svg`.
In this way, `App::Placement` and `App::Origin`
use different icons and there is no confusion
in the tree view.
2019-12-17 15:08:30 -03:00
Zheng, Lei
bc26820837 Gui: Placement/DatumCS view provider changes
* Add always zoom invariant and always on top rendering to
  ViewProviderDatumCS

* Add a new utility class AxisOrigin for more efficient axis rendering.
  Also exposed to python.

* Change ViewProviderPlacement to use AxisOrigin for rendering.
  A single instance of AxisOrigin is shared by all
  ViewProviderPlacement. Selection context is used to distinguish among
  different instances.
2019-08-17 15:08:34 +02:00
jriegel
4f0f3e8c94 implementing Plane visual 2016-04-12 18:11:44 +02:00
jriegel
ed5a055444 implementing PlacementObject 2016-04-12 18:11:44 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
27863408c9 + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
jriegel
0215757e79 Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00