Commit Graph

11 Commits

Author SHA1 Message Date
PhoneDroid
ada36046bf Updated SPDX License Identifiers 2025-10-08 10:49:52 -05: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
d7c49329a2 DAG: Add method hasRecord() and use it in Model::slotChangeObject
to avoid a possible failing assert().

Fixes #17572
2024-11-04 17:56:57 +01:00
wmayer
6beace8da6 Gui: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
luz paz
818e2b2841 Gui: fix trailing whitespace 2022-12-02 19:18:54 -06:00
wmayer
23961706be Gui: modernize C++: replace 'typedef' with 'using' 2022-08-29 14:09:18 +02:00
Uwe
805f697797 [Gui] DAGView: remove few includes
mainly the headers are just sorted
2022-03-08 02:37:35 +01:00
blobfish
b16a5856a7 Gui: DAGView: adding check for App::DocumentObject 2016-12-15 13:50:03 +01:00
wmayer
e2398b4b06 fix Coverity issues 2016-08-21 14:03:02 +02:00
blobfish
28bb00d9e2 Core: Gui: DAGView: windows compile fix 2016-04-12 18:12:13 +02:00
blobfish
b2d4f80b19 Core: Gui: DAGView: Various changes. See Following.
Font size hack for windows DPI workaround
    Adding optional layout direction
    Basic filter framework.
    Column logic beyond just parent.
    Factor out graph and graphLink to separate source files
    Factor out rectitem to separate source files
    Rename custom rect item
2016-04-12 18:12:13 +02:00