pre-commit-ci[bot]
25c3ba7338
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
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
Benjamin Nauck
f932c7e4e0
Use Base::toRadians() instead of manually converting
2025-04-15 07:16:36 +02:00
Benjamin Nauck
34bc1d45ea
Gui: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
Andrea
da66720d3a
REMOVE old QT<= 5.14 code
...
Ubuntu 22.04 use qt 1.15.3.
In the code is still used qt code <5.10.
A cleanup was done by removing qT code version used in ubuntu 18.04.
2025-03-05 09:32:06 +01:00
wmayer
68ff9989ed
Core: Placement dialog
...
+ replace separate buttons with QDialogButtonBox
+ add convenience method setPlacementAndBindObject
+ use const DocumentObject
2024-09-09 12:28:22 +02:00
wmayer
0ed7eb5652
Gui: use of TaskDialog::addTaskBox
2024-03-26 15:57:20 +01:00
Florian Foinant-Willig
773c701eec
Core: modernize type checking
2023-10-23 18:07:07 +02:00
wmayer
c016f1c1fb
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
457fac38dd
Gui: fix -Wclazy-connect-by-name
2023-04-05 00:44:13 +02:00
wmayer
2e5cb03261
Gui: move to new style connect()
2023-02-01 13:49:35 +01:00
wmayer
dad0c36612
Gui: in placement dialog use spin boxes for rotation axis
2022-10-25 22:56:56 +02: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
wmayer
d5921e08ec
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
042f0ee8c6
[Gui] Tool* etc.:remove unused includes
2022-03-05 18:08:13 +01:00
luz paz
74ab516494
Gui: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the src/Gui code.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wmayer
715ab0596e
remove unused checkbox from Placement dialog
2018-10-13 01:51:05 +02:00
wmayer
904aef5551
use abstract interface to access geometry in transform dialog
2018-08-27 16:19:56 +02:00
Mateusz Skowroński
3b463f2138
Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
wmayer
1cd2dab81f
+ rename duplicate class name
2014-08-07 18:41:54 +02:00
wmayer
406d32aebb
+ Replace InputField with QuantitySpinBox
2014-07-31 15:14:27 +02:00
Stefan Tröger
8ff14c8fdb
port the placement dialog to the inputfield
2014-05-12 09:40:16 +02:00
jriegel
66ee73f54b
Further doubel suggestions from Jan
...
Moved Gui/InputVector,Placement,Transform from float to double
Moved Sketcher from float to double
more suggestions for moving float -> double
2013-09-24 11:01:01 +02:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00