Commit Graph

13 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
888a33917d Gui: modernize C++: use equals default 2023-08-20 18:12:43 +02:00
wmayer
9345738604 Gui: [skip ci] fix several warnings reported by GH Actions 2022-11-06 15:53:18 +01:00
berniev
ae53c9b0a4 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
wmayer
0f5725b34a modernize C++: replace boost::function with std::function 2022-06-30 20:31:55 +02:00
Uwe
1a9493d937 [Gui] ActiveObjectList etc.: remove unused includes 2022-03-03 02:08:19 +01:00
wmayer
15dac7a32c extend API of TimerFunction class 2017-04-01 16:39:44 +02:00
wmayer
3ef319d04a extend API of TimerFunction class 2017-03-31 22:18:06 +02:00
wmayer
411823860b avoid changing scenegraph while traversing it 2017-01-13 22:01:47 +01:00
wmayer
421d82e432 + extend ActionFunction and use in mesh view provider 2015-03-31 01:02:16 +02:00
wmayer
0b9f7a5245 + fix build failure with gcc 2015-03-30 23:16:28 +02:00
wmayer
347cc7fcb4 + implement mechanism to connect QAction signal with class method 2015-03-30 23:06:35 +02:00