pre-commit-ci[bot]
25c3ba7338
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
captain0xff
529c624afc
Part: move GizmoHelper.h to src/Mod/Part/App
2025-10-19 22:19:11 -05:00
Chris Hennes
16906e93db
Merge pull request #24240 from mrpilot2/cmake_pch_mods_part_2
...
Mods: use CMake to generate precompiled headers on all platforms
2025-09-26 09:46:26 -05:00
captain0xff
a678d8ec7f
Gui: hide the gizmos in case of any errors
2025-09-25 16:14:09 -05:00
Markus Reitböck
5b6a0b1852
PartDesign: 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-23 22:39:36 +02:00
captain0xff
2cab5e7b64
Gui: refactor gizmo attachment code
2025-09-17 15:46:35 +02:00
captain0xff
603e0bc6e5
Gui: update gizmo state based on new property
2025-09-11 22:54:47 +02:00
captain0xff
6e896b1248
PartDesign: add interactive gizmos
2025-08-30 17:02:52 +02:00
Max Wilfinger
04e9baf533
Fix UI strings reported on Crowdin ( #23297 )
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2025-08-25 06:10:53 +00:00
Kacper Donat
802af4c464
PartDesign: Add preview TaskBox to all feature task dialogs
2025-08-07 00:37:46 +02:00
Kacper Donat
7f87d87f61
PartDesign: Add transparent previews
2025-08-07 00:37:21 +02:00
bofdahof
998f4e4d45
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Ladislav Michl
c293d74566
Base: rename Exception's PascalCase methods to camelCase
2025-05-05 23:50:01 +02:00
tritao
65466d580b
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
Kacper Donat
651cefde4d
Gui: Use getObject<T>() helpers in classes
...
This commit is generated using regex based find and replace:
```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```
To regenerate if needed.
2024-12-06 18:29:39 +01:00
wmayer
f3d84b601f
PD: Fix convoluted event handling of dress-up task boxes
2024-11-22 11:55:46 +01:00
wwmayer
e98ffc3060
PartDesign: Prepare for clang-format ( #16048 )
...
* PartDesign: Prepare for clang-format
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-02 17:48:26 +02:00
wmayer
c1a7edc221
PD: Fix possible crashes in dress-up task panels
2024-07-18 15:13:29 +02:00
wmayer
351397e088
PD: Replace helper functions in subclasses of TaskDlgFeatureParameters with a template function
2024-07-18 00:02:07 +02:00
wmayer
ca1cb21498
PD: modernize C++: use equals default
2023-08-22 13:31:17 +02:00
wmayer
9a1f8a11d6
PD: modernize C++: use range-based for loop
2023-08-16 21:54:56 -05:00
wmayer
c93b5e27c9
PD: fix crash on Windows when loading PD workbench
2023-04-14 16:34:00 +02:00
Paddle
18a9c164d6
PartDesign: Fillet/chamger/draft/thickness: change the button strings to 'Preview' and 'Select'
2023-03-28 12:52:42 +02:00
Paddle
d896d00d48
PartDesign: Fillet Draft Chamfer Thickness : Add warning message on empty feature creation
2023-03-28 12:52:42 +02:00
Paddle
47cc265b4f
PartDesign: Fillet, Chamfer, Draft, Thickness : Enable tool to start with no selection.
2023-03-28 12:52:42 +02:00
Paddle
8ada7af302
PartDesign: Fillet/chamfer/draft/thickness: Merge Add & Remove buttons.
2023-03-28 12:52:42 +02:00
wmayer
12ed13ddbe
PD: move to new style connect()
2023-01-15 14:27:33 +01:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
wmayer
ca3c8185e0
App/Gui: move template classes (ViewProvider)ExtensionPythonT to their own header files
2022-03-04 18:54:42 +01:00
Uwe
52a0a9ba40
[PD] Gui: Boolean to Groove: remove unused includes
2022-02-21 01:33:04 +01:00
Mark Ganson TheMarkster
aa76cbc875
[PartDesign Fillet/Chamfer] add UseAllEdges boolean property ( #5340 )
...
- [PartDesign Fillet/Chamfer] add UseAllEdges boolean property
- add UseAllEdges checkbox to fillet and chamfer dialogs
- put UseAllEdges property into Chamfer and Fillet groups, create Fillet group for fillets and put Radius into it, too.
2022-02-05 01:50:51 +01:00
mwganson
a930d4ebac
[PartDesign] for chamfer and fillet, add SelectAllEdges option in the context menu while in add or remove mode
2021-12-31 14:01:43 +01:00
donovaly
249c2c7970
[PD] set App constraints for their Gui counterparts
...
based on Werner's work yesterday, this PR takes care of the missing PD features to use the constraints already defined in App
2021-03-04 11:03:24 +01:00
wmayer
482884cfd4
PD: [skip ci] fix regression caused by e0d07257b7
...
In the accept() method the view provider of the edited object must be made visible if it's valid as otherwise it can happen that the view is empty.
See https://forum.freecadweb.org/viewtopic.php?f=13&t=55915
2021-02-23 11:20:45 +01:00
donovaly
e0d07257b7
[PD] fix dressup feature display when broken
...
As discussed in https://forum.freecadweb.org/viewtopic.php?p=479647#p479377
the user can end up without either seeing nothing or an inexisting dressup feature.
This PR fixes this.
2021-02-19 14:51:52 +01:00
Chris Hennes
41a40c1c31
[PD] Catch Python exceptions in dtors (Coverity)
...
In some PartDesign task dialogs, the destructors call functions that may
throw exceptions. If that occurs and the exception is uncaught, this
will ususally end up terminating the program. This commit adds try-catch
blocks around each instance of that (identified by Coverity) and handles
the Python exception in the normal reporting workflow.
2021-02-08 21:30:22 +01:00
donovaly
2ac84872ec
[PD] make pointers to the UI std::unique_ptr
...
Same as PR #4293 , just for PartDesign
as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.
This PR does this for all PartDesign dialogs that don't already use a unique_ptr.
2021-02-05 18:01:57 +01:00
luz paz
faa8688ee5
PartDesign: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the PartDesign Wb.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wmayer
1ee3d79d7c
Qt5: 'int QFontMetrics::width' is deprecated since Qt 5.11: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
53dbc5fc2d
PartDesign: [skip ci] set minimum width of labels to align the spin boxes properly in the chamfer panel
2020-05-24 11:12:08 +02:00
Abdullah Tahiri
e4a5d8b862
PartDesign: Chamfer feature corrections and improvements
...
========================================================
- Correction to mustExecute() to account for the new properties
- Make properties not used by the mode as read-only.
- Gui: apply() only for construction mode valid features
2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
e1240fb18d
PartDesign: Chamfer direction flipping support
2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
262841bb3c
PartDesign: Chamfer with multiple creation modes
2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
4669b6c88d
Fixed issues introduced in #3456
...
- Copy-paste error when setting angle dimensions.
- Max angle limit set to 180 degrees.
2020-05-12 14:29:28 +02:00
Armandas Jarušauskas
cc82cf3e50
Added chamfer angle support to PartDesign.
2020-05-10 18:59:30 +02:00
wmayer
bdd8d257d9
PartDesign: [skip ci] optimize when removing items from dress-up features
2020-02-23 14:58:48 +01:00
donovaly
da6352c43d
[PD] only recompute once per deletion action
...
see https://forum.freecadweb.org/viewtopic.php?f=19&t=43383&p=370357#p370357
2020-02-23 12:43:11 +01:00
donovaly
361acd5a84
[PD] enable selection of fillets etc. using arrow keys in Dlg
...
see https://forum.freecadweb.org/viewtopic.php?f=19&t=43383&p=370758#p370758
2020-02-21 09:27:00 +01:00
donovaly
cc3b21fa0b
improve code as suggested by Werner
...
see https://forum.freecadweb.org/viewtopic.php?p=369921#p369921
2020-02-18 23:16:48 +01:00