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
Max Wilfinger
ecf02b7878
Gui: Update UI strings for consistency
...
Closes : #22135
2025-08-04 20:14:45 +02:00
bofdahof
998f4e4d45
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Karliss
fa61131590
Add missing parent for messagebox and other popups
...
Unparented popups can easily get lost in backround, but they still block top level event loop when run with ::exec() thus preventing interactions with main window. This mainly happens on wayland. Setting the parent ensures they are always kept on top and reasonably positioned.
2025-03-16 16:02:36 -05: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
Benjamin Bræstrup Sayoc
f647d4a1eb
Gui: Use QStringLiteral
2025-02-10 18:34:57 +01:00
tritao
65466d580b
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +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
8925b2ae4d
Core: Add option to ignore transactions in placement dialog
2024-09-05 19:18:20 +02:00
wmayer
bf8b4a7583
Core: Expose Placement dialog to Python
2024-09-05 18:17:08 +02:00
wmayer
759811e502
Core: Change placement dialog to operate on passed selection objects
2024-09-05 17:43:09 +02:00
wmayer
9ece66bf03
Core: Refactor placement dialog
2024-09-05 17:08:43 +02:00
wmayer
4a2190f835
Gui: In Placement dialog check that the object identifier has a valid property before binding it to a widget
2024-04-17 12:28:30 +02:00
wmayer
0ed7eb5652
Gui: use of TaskDialog::addTaskBox
2024-03-26 15:57:20 +01:00
wmayer
c016f1c1fb
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
d150fa7164
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
96aabe113e
modernize C++: raw string literal
2023-08-07 19:51:15 -06:00
luzpaz
129d5882a7
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
wmayer
0c841d8074
Gui: [skip ci] move to new-style connect in Placement dialog
2023-01-02 10:42:12 +01:00
wmayer
e171a1f6e1
Gui: enable range check in QuantitySpinBox when opening expression editor
2022-12-19 14:46:31 +01:00
wmayer
9c8b255660
Gui: simplify logic of Placement dialog
2022-12-16 17:49:22 +01:00
wmayer
d6d3369856
Gui: refactor Placement dialog
2022-12-16 15:33:52 +01:00
wmayer
36aae6f24e
Gui: refactor Placement dialog
2022-12-16 12:00:56 +01:00
wmayer
356794a646
Gui: [skip ci] fix Conda build failure
2022-11-01 22:57:47 +01:00
wmayer
5cc9bae455
Gui: bind spin boxes of Placement dialog when opening it via menu
2022-10-27 19:30:24 +02:00
wmayer
4e643dcec3
Gui: refactor and modernize code of Placement dialog
2022-10-27 00:28:55 +02:00
wmayer
4d8e61549d
Gui: if an expression is set for Euler angles in the placement dialog then evaluate the expression instead of determining the angles from the rotation
...
See forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=72522
2022-10-26 11:27:46 +02: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
berniev
a909df7f39
Gui: Single arg ctors must be explicit (PR #7369 )
2022-08-24 15:06:03 +02:00
berniev
d88729d2c4
Gui: use empty
2022-08-06 16:35:45 +02: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
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
bedf920702
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
4977e55e51
App: Optimize includes to reduce compile time
2022-03-07 15:53:58 +01:00
Uwe
063efd56de
[Gui] Placement: remove unused includes
2022-03-05 02:48:17 +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
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
f3b460e42e
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
5c4ddf42ee
Gui: [skip ci] bind spin boxes to object in Placement dialog
2020-03-27 17:08:08 +01:00
wmayer
544bb22221
Gui: [skip ci] fix bug in Placement dialog when leaving with Esc
2020-03-20 13:34:48 +01:00
wmayer
1432dc1d50
Gui: Qt4/Qt5 neutral change in Placement class [skip ci]
2020-01-12 13:43:39 +01:00
wmayer
67f84faa07
fix Qt4 build failure
2020-01-09 14:35:17 +01:00
wmayer
2fcfa48274
Gui: [skip ci] reduce height of Placement dialog
2020-01-09 02:26:17 +01:00
wmayer
c0aedf29da
Gui: [skip ci] adjust content to size after hiding bottom button row
2020-01-08 23:38:20 +01:00
wmayer
8f6bf8eafc
fixes 0003861: Sketch change plane when changing Attachment Offset (UI quirk)
2019-03-12 22:54:37 +01:00
wmayer
715ab0596e
remove unused checkbox from Placement dialog
2018-10-13 01:51:05 +02:00