pre-commit-ci[bot]
25c3ba7338
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
paddle
89eddb4138
Gui: Move ComboLink from PartDesign to Gui.
2025-08-25 18:38:34 +02:00
André Althaus
b1f9e9f805
Fix linter hints
2024-02-28 17:29:59 +01:00
André Althaus
b301816889
Refactor the apply function to be virtual public
2024-02-21 15:04:38 +01:00
André Althaus
bb25074076
Reformat files with clang-format
2024-02-17 17:13:14 +01:00
André Althaus
fd4bea24b7
Fix apply() method not called consistently
...
The python console commands where not consistenly reported because
the apply function was not called or not implemented.
The function is now called from the base class and also when
a subfeature is closed in MultiTransform.
Some missing properties are also added.
2024-02-17 17:13:14 +01:00
André Althaus
48d9a8da86
Refactor: optimize member access specifiers
...
After refactoring many members have unnecessarily open access specifiers.
This changes as many members as possible to private or protected.
2024-02-17 17:12:59 +01:00
André Althaus
77bcd7e50f
Refactor: remove unused functions
2024-02-17 17:12:59 +01:00
André Althaus
24c138373c
Move duplicated code to the base class
...
All pattern sublcasses contain the same code for handling the
feature list. This code is now moved into the base class that handles
the common ui.
The subclasses now only need to call the setupUI/setupParameterUI function
in their constructors and implement the setupParameterUI function
to create their parameter ui into the specified widget.
The MultiTransform also handles it's common ui and the subclasses
can reuse setupParameterUI without code duplication.
2024-02-17 17:12:32 +01:00
wmayer
ca1cb21498
PD: modernize C++: use equals default
2023-08-22 13:31:17 +02:00
wmayer
12ed13ddbe
PD: move to new style connect()
2023-01-15 14:27:33 +01:00
berniev
6953310116
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Uwe
06622dfc85
[PD] Task dialogs: remove unused headers
2022-03-23 19:43:47 +01:00
wmayer
3608ee7f51
PD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
660436d50b
[PD] remove some more unused includes
2022-02-21 15:13:54 +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
donovaly
5aa15e7d71
[PD] spread the fix from commit fa963d36d1 to 3 other affected dialogs
2020-02-15 17:00:26 +01:00
luz.paz
d38f18af23
PartDesign: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all PartDesign WB files
2019-12-22 00:58:38 +01:00
DeepSOIC
9776d30b87
PartDesign: rework axis and plane comboboxes and make it work without part.
...
Rework combobox filling and link hadling for revolution and transformed features, in order to get rid of hard-coded item indexes and make the lists more dynamic.
2016-04-12 18:12:14 +02:00
jrheinlaender
fcea39b0d8
Enable multiple originals for the transformed features
2016-04-12 18:11:56 +02:00
jrheinlaender
880587a627
Allow datum lines and planes for Transformed features' references
2016-04-12 18:11:50 +02:00
Eivind Kvedalen
ddfbe349cf
PartDesign: Added support for expressions.
2015-09-21 14:51:09 +02:00
logari81
525cddaaf3
PartDesign: Refactor pattern features and gui
...
- remove StdDirection,StdAxis and StdMirrorPlane properties
- support sketch H_Axis, V_Axis, N_axis as valid references in patterns
- polish reference selection gui (unified for standard axes and custom references)
2013-01-09 23:18:38 +01:00
logari81
2540a19a5d
PartDesign: use selection filter gate for picking references for pattern/transform features
2012-09-15 08:14:36 +02:00
logari81
f0917eff39
PartDesign: fix bug in checkbox "Update View" of pattern features and do some code refactoring
2012-09-13 15:46:46 +02:00
logari81
8b35efdb83
PartDesign: restrict patterns to only one original and improve selection of references
2012-09-11 16:54:45 +02:00
logari81
afc794894f
PartDesign: fix small issue with embedded TaskPanels in MultiTransform
2012-09-10 11:37:48 +02:00
jrheinlaender
b30a49ece3
PartDesign: implement Transform and Pattern features
2012-09-07 11:55:26 +02:00