Commit Graph

36 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
Pieter Hijma
530fa77401 Gui: Select the VarSet when clicking Std_VarSet
To make clear which VarSet is being added to, the VarSet is being
selected.
2025-09-03 11:51:14 +02:00
Max Wilfinger
6692dacc0a Gui: Update UI strings for consistency
Closes: #22135
2025-08-04 20:14:45 +02:00
tetektoza
ecad444131 Gui: Allow users to add groups to active objects
As the title says, if right now there is Arch type active (like Level,
Building, etc. etc.), then it's not possible to assign Group to it
automatically (it's being created on root level of the document).

So this patch basically takes an active object and tries to insert it.
2025-06-22 23:50:12 +02:00
Abdelhadi Wael
b31a6d8b69 Remove filter excluding Spreadsheet objects 2025-04-22 21:37:17 -05:00
Abdelhadi Wael
e1fcd129b8 Update src/Gui/CommandStructure.cpp
Co-authored-by: Florian Foinant-Willig <FlachyJoe@users.noreply.github.com>
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
70529c9a11 Update CommandStructure.cpp 2025-04-22 21:37:17 -05:00
Abdelhadi Wael
37fec30977 Update src/Gui/CommandStructure.cpp
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-04-22 21:37:17 -05:00
Abdelhadi-Wael
d6273b078f fixed warning 2025-04-22 21:37:17 -05:00
Abdelhadi Wael
bde06bdb0c Updated PR with fixes 2025-04-22 21:37:17 -05:00
Abdelhadi Wael
d92a52e48b Fix: Only add objects when multiple are selected 2025-04-22 21:37:17 -05:00
PaddleStroke
19ef989300 Part: add datum objects and commands to create them. 2024-12-13 18:04:10 +01:00
Pieter Hijma
4bb45cb70d Gui: Make VarSet dialog modal
Also tracks its own transactions to prevent interfering with other
transactions.
2024-10-28 17:33:14 +01:00
Pieter Hijma
b6026c98c9 Core: Add VarSets to Groups
If a Group is selected, add the VarSet to the group.
2024-05-21 09:59:49 +02:00
Pieter Hijma
cb379dbe05 Core: Add a command to add variable sets 2024-05-21 09:59:49 +02:00
Chris Hennes
796240392a Gui: Fix translation strings for Part, Group, and Link
Extra HTML tags were added outside the translation NOOP. They were unnecessary, and broke translation.
2024-03-05 10:38:51 +01:00
Florian Foinant-Willig
741296b82e Core: modernize type checking 2023-10-23 18:07:07 +02:00
Paddle
c9d6e9f0b5 Improve tooltips and remove the html from the translate. 2023-09-21 07:31:15 +02:00
Paddle
887f119a8a Group: Give a proper tooltip 2023-09-20 13:42:30 +02:00
Paddle
a06123f50e Std_Part : give it a proper tooltip. 2023-09-20 13:39:50 +02:00
berniev
3d1f70765a Gui: redundant void 2 2022-08-08 10:21:44 +02:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Uwe
41f49010bd [Gui] Command: remove unused includes 2022-03-04 03:21:46 +01:00
wmayer
6f20e3e4d8 Gui: remove QT_TR_NOOP from command group names and use "CommandGroup" as context string 2021-09-29 16:31:55 +02:00
luz paz
c93bf6cbae 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
9fa56345cf core system
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
Yorik van Havre
349bfce263 Gui: Use freedesktop name for the group icon so it can be displayed using the system theme 2019-09-04 17:36:13 -03:00
wmayer
c3763479da activate/create 3d view when setting or getting active objects 2019-07-05 18:53:35 +02:00
triplus
92efd5fbe9 Improved icon themes support 2019-02-13 10:42:46 -02:00
luz.paz
69216f3604 sWhatsThis fixes
ref: https://forum.freecadweb.org/viewtopic.php?f=10&t=26687
2018-01-31 19:07:07 +01:00
luz.paz
436444b424 Misc. typos 2018-01-27 19:43:18 +01:00
wmayer
43f56ed16a add missing header 2017-10-06 17:06:31 +02:00
wmayer
0ccf09ce9c scroll to newly created group item 2017-10-06 16:29:21 +02:00
Stefan Tröger
0dd5f14918 Add new icons for Part and Group 2017-09-09 16:55:55 +02:00
Stefan Tröger
553514bd15 Add group command to structure toolbar 2017-09-09 16:47:07 +02:00