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
Zheng, Lei
11a93a0578
PartDesign changes
...
* Mostly for supporting in-place editing
* Add new SubShapeBinder that support cross coordinate system,
external, and sub-object binding
2019-08-17 15:15:47 +02:00
wmayer
7acdb56d92
Replace Base::Exception with appropriate subclass
2018-11-14 19:28:00 +01:00
wmayer
f898eafd64
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
wmayer
27c4136f58
TaskTransformedParameters derives from Gui::DocumentObserver to handle deletion of view provider when clicking Cancel button
2017-01-22 19:07:07 +01:00
wmayer
6fef24f676
replace const char* with QString in removeItemFromListWidget
2016-10-21 13:48:45 +02:00
Sergo
c08202a520
remove make_unique call
2016-10-15 17:41:56 +02:00
Sergo
be249f902d
PD: add SelectionFilterGate to filter dependents, fix mirror taskview
2016-10-15 17:41:56 +02:00
wmayer
664cf65d26
fix -Wextra in PartDesign
2016-09-22 18:34:56 +02:00
wmayer
63ad26491f
fix Coverity issues
2016-08-22 15:02:18 +02:00
Mateusz Skowroński
b5519922d8
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
Alexander Golubev
0cfc0cd424
Fix warnings introduced in new PartDesign
...
Mostly unused wariables and compare of signed & unsigned
2016-04-12 18:12:21 +02:00
Alexander Golubev
1a26f7551f
PartDesign: add Origin to the Body and unstrap the module from the Parts
2016-04-12 18:12:18 +02:00
Alexander Golubev
2c2d155ee9
OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup
2016-04-12 18:12:18 +02:00
Alexander Golubev
797d6d3a11
App/Origin: big refactoring
...
- Rebase App::Origin on App::DocumentObject
- Keep all control over the Origin structure inside the Origin and it's
ViewProvider
- Add OriginFeature class as common base for App::Plane and App::Line
- Rebase App::Plane and App::Line on top of newly created class and
move to the file.
- Change Origin's ViewProvider API associated with temporary display
- Lots of associated changes to files
- Several minor fixes
- Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev
c782a11aab
PartDesign/Gui: Move various utility stuff from Workbench to a separate file
...
Also do some header cleanup.
2016-04-12 18:12:17 +02:00
Alexander Golubev
113c10a2b7
PartDesign: make transform parameter dialogs use common base code with other dialogs
...
subj;
Make PasrtDesign::Transformed provide common for all features
classes interface getBaseObject() instead of specific getSupportObject ();
Refactor some TransformedParameters methods.
2016-04-12 18:12:16 +02:00
DeepSOIC
16e4ce20f0
PartDesign workflow without part/body
...
PartDesign: make datum features work outside of body/part
PartDesign old workflow: remove a few messageboxes about no part
PartDesign: old workflow: multitransform without body
Still has visibility issues, but generally works.
2016-04-12 18:12:14 +02: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
Stefan Tröger
6347fe8c86
make origin work correct with multiple parts
2016-04-12 18:12:08 +02:00
DeepSOIC
439f392e88
Fix crash when adding datum and there's no active body
...
Plus fix double messageboxes about the lack of the body,
2016-04-12 18:12:07 +02:00
Stefan Tröger
9a2f5eea65
allow non-sketch based additive and subtractive features
2016-04-12 18:12:06 +02:00
blobfish
10a7f15c37
Part Design: adding const char PDBODYKEY and using. No functional change.
2016-04-12 18:12:04 +02:00
jriegel
45f7c99c1c
Changing active object handling in PartDesign
2016-04-12 18:12:03 +02:00
jrheinlaender
fcea39b0d8
Enable multiple originals for the transformed features
2016-04-12 18:11:56 +02:00
jrheinlaender
f9b0e5908a
Allow transforming a Pattern feature into a MultiTransform feature
2016-04-12 18:11:54 +02:00
jrheinlaender
0e9ee59129
Some code unification for Gui selections
2016-04-12 18:11:51 +02:00
jrheinlaender
934c68faa5
Draft: Accept datum lines and planes as references
2016-04-12 18:11:50 +02:00
jrheinlaender
880587a627
Allow datum lines and planes for Transformed features' references
2016-04-12 18:11:50 +02:00
jrheinlaender
7330d4357e
Made the rest of the PartDesign features aware of the Body
2016-04-12 18:11:49 +02:00
Mateusz Skowroński
cd2db00f22
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
003c2bf77d
+ fix warnings with clang
2014-09-24 15:55:36 +02:00