Commit Graph

10 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
xtemp09
f20c1a0102 Simplify repr() function 2025-08-25 10:38:39 -05:00
Kacper Donat
9baeb6e9e6 Gui: Add support for hints in status bar 2025-05-21 17:42:45 +02:00
Kacper Donat
b14d3a224b Misc: Replace dynamic_cast with qobject_cast 2025-04-26 14:23:25 +02:00
wmayer
5753fe12c4 Gui: Fix MainWindowPy::removeWindow
See https://forum.freecad.org/viewtopic.php?t=87097
2024-04-26 10:10:25 +02:00
wmayer
c1d77ee7c6 Gui: support of MDI views written in Python that implements onMsg() or onHasMsg(): fixes #8071 2022-12-22 16:20:37 +01:00
berniev
75acacd1b7 Gui: Use auto and range-based for (#7481)
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto. 
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
Uwe
6bf4cf7b41 [Gui] more work to remove unused includes 2022-02-21 00:03:13 +01:00
wmayer
751227402d Gui: extend MainWindowPy
* implement MainWindowPy::getWindows
* implement MainWindowPy::getWindowsOfType
2021-11-19 16:21:40 +01:00
wmayer
6bf724cca9 Gui: extend PySide2 wrapper of MainWindow with extra functions 2021-11-19 15:45:56 +01:00