PaddleStroke
5d2037c820
PartDesign: Transform rework
2025-08-26 08:46:51 +02:00
paddle
5fa7fe5117
PartDesign: Remove message taskbox and use regular warnings instead.
2025-08-25 18:39:08 +02:00
paddle
9535371265
PartDesign: Rename Transformed::Mode enum
2025-08-25 18:38:34 +02:00
paddle
89eddb4138
Gui: Move ComboLink from PartDesign to Gui.
2025-08-25 18:38:34 +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
6caceacb95
PartDesign: Add support for preview for transforms
2025-08-07 00:37:23 +02:00
Max Wilfinger
bee89d0447
PartDesign: Update UI strings for consistency and correct for new fuctions and typos
...
Closes : #22128
2025-08-04 20:15:04 +02:00
wmayer
017f2c8842
Helper function to get preferred delete key depending on platform
2025-06-09 18:10:52 +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
Chris Hennes
5f623390fb
Merge pull request #20142 from bofdahof/ranges
...
Apply C++20 std::ranges (mainly to std::find)
2025-03-17 03:08:27 -05:00
bofdahof
965af2bf9a
PartDesign: apply std::ranges
2025-03-16 17:17:15 -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
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
Benjamin Nauck
fdfb9fd2c6
Reuse Std_Delete shortcut instead of hardcoding Delete ( #16682 )
...
* Reuse Std_Delete shortcut in TaskBooleanParameters
* Reuse Std_Delete shortcut in TaskDressUpParameters
* Reuse Std_Delete shortcut in TaskLoftParameters
* Reuse Std_Delete shortcut in TaskPipeParameters
* Reuse Std_Delete shortcut in TaskSapeBinder
* Reuse Std_Delete shortcut in TaskTransformedParameters
* Reuse Std_Delete shortcut in TaskExtrudeParameters
* Reuse Std_Delete shortcut in TaskSections
* Reuse Std_Delete shortcut in MaterialSave
* Reuse Std_Delete shortcut in Array2D
* Reuse Std_Delete shortcut in TaskFemConstraint
* [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-23 10:53:39 -05:00
wmayer
351397e088
PD: Replace helper functions in subclasses of TaskDlgFeatureParameters with a template function
2024-07-18 00:02:07 +02:00
André Althaus
917cebd66e
Fix signal for Qt < 5.15
2024-05-28 13:48:48 +02:00
André Althaus
cae23ddcc8
Replace combobox with radio buttons
2024-05-28 09:34:08 +02:00
André Althaus
a6c061e19a
Add a combo box to the transform featues UI for the TransformMode
2024-05-23 12:22:26 +02:00
André Althaus
0bdd72e7e7
Use the isDerived<>() Template function
2024-02-28 17:29:59 +01:00
André Althaus
b1f9e9f805
Fix linter hints
2024-02-28 17:29:59 +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
77bcd7e50f
Refactor: remove unused functions
2024-02-17 17:12:59 +01:00
André Althaus
4ae184706d
Refactor: add default member initializers
2024-02-17 17:12:59 +01:00
André Althaus
ab7dd607a5
Refactor: replace enum with enum class
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
c85bc2a755
PD: fix constructor of TaskTransformedParameters
2023-10-19 22:58:46 +02:00
wmayer
9a1f8a11d6
PD: modernize C++: use range-based for loop
2023-08-16 21:54:56 -05:00
wmayer
fa8bdfd550
PD: harmonize API of view provider classes
...
* add virtual method featureName() to ViewProviderTransformed
* add featureIcon() to ViewProviderTransformed and ViewProviderDressUp
2023-04-24 12:25:04 +02:00
wmayer
88accdb421
PD: [skip ci] Fix several clazy issues:
...
* Maybe you meant to call base method instead [-Wclazy-skipped-base-method]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Mixing iterators with const_iterators [-Wclazy-strict-iterators]
* Unused QByteArray [-Wclazy-unused-non-trivial-variable]
* C++11 range-loop might detach Qt container (QList) [-Wclazy-range-loop-detach]
2022-07-25 13:40:19 +02:00
Uwe
35f75064a0
[PD] remove superfluous nullptr checks
2022-07-17 18:12:41 +02:00
wmayer
d0f98bf45c
Conda: ssize_t is a POSIX type and thus not necessarily defined on Windows. Currently this causes build failures with Conda + Py3.10.
...
The solution is to get rid off all occurrences of ssize_t in FreeCAD code
2022-05-17 11:43:40 +02:00
Kuzemko Aleksandr
c3bbb9a135
[PartDesign] Fix and expose ViewProvider strings to translation
...
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/24
2022-05-08 14:52:39 -05:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
6f230d7404
PD: PR6497 move return statement to new line
2022-03-29 12:37:21 -05:00
wmayer
3608ee7f51
PD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Uwe
02c8b0452e
[PD] some more work to remove unused includes
2022-02-21 02:50:16 +01:00
wmayer
208237d2e6
PD: 0004582: Mulit-transformation dialog cannot be cancelled
2021-12-09 06:13:25 +01:00
wmayer
3ee1d91b88
PD: cleanup the mess with boolean arguments and replace them with a bitmask
2021-12-03 14:46:19 +01:00
David Osterberg
52c0558f91
PartDesign: Allow use of circle edge as axis in PolarPattern
2021-03-01 14:48:24 +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
wmayer
6199fbb25e
Base: [skip ci] Coverity: Uncaught exception
2020-09-14 18:34:25 +02:00
wmayer
a9af418698
PartDesign: [skip ci] move indexesMoved() to base class TaskTransformedParameters to avoid code duplication
2020-07-31 13:16:44 +02:00
wmayer
8c0dc92426
PartDesign: fix issues of PR #3108
...
* in the undo/redo list use an object's label and not the internal name
* check by the transaction ID instead of name to open a transaction to make the workbenches independent of implementation details of the core system
* when rejecting a task do not call undo() because this is not the same as aborting a pending transaction
* this also fixes the warning: <App> Document.cpp(1182): Cannot commit transaction while transacting
2020-03-14 14:51:45 +01:00
Zheng, Lei
096f64cca6
PartDesign: fix task dressup/transformed creation cancel
2020-03-14 14:51:45 +01:00
wmayer
fa963d36d1
PartDesign: add/remove features to list view in linear pattern panel
2020-02-15 15:55:11 +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