Commit Graph

16 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
9fe130cd73 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
Markus Reitböck
a72a0d6405 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
c30d42c441 Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
2024-08-26 18:14:22 +02:00
wmayer
888a33917d Gui: modernize C++: use equals default 2023-08-20 18:12:43 +02:00
wmayer
ec73caa40e modernize C++: make unique 2023-08-07 19:51:30 -06:00
wmayer
702f3b4ddd Core: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
berniev
066656f62a Gui: use emplace_back 2022-08-05 10:33:41 +02:00
Uwe
8f4053e31d [Gui] ViewProviderPython* etc.: remove unused includes 2022-03-06 02:24:52 +01:00
luz.paz
04ba2872f0 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
d841e59668 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
fc87332709 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
57d4edab07 implementing Plane visual 2016-04-12 18:11:44 +02:00
jriegel
7a76df4013 implementing PlacementObject 2016-04-12 18:11:44 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
cab441cf2a + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
jriegel
fe76712e9f Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00