wmayer
8df497b08e
Gui: move methods startDefaultEditMode() and addDefaultAction() to ViewProviderDocumentObject
2021-12-06 19:24:26 +01:00
wmayer
c64d86274c
PD: minor cleanup in view provider headers
2021-12-03 15:58:23 +01:00
wmayer
45c3cee264
PD: open transaction when calling item of context-menu of sketch based features
2021-10-22 20:01:43 +02:00
Abdullah Tahiri
87c9f83bd6
Gui: Colorful/Greyable overlay status in icons
...
===============================================
Before this implementation, specific status via former mergeOverlayIcon() was greyed out
with the visibility.
With this commit, the developer has two options:
a) override mergeGreyableOverlayIcons, in which case the overlay will
be greyed out when the item is greyed out as per former mergeOverlayIcon()
b) override mergeColorfulOverlayIcons, in which case the overlay will
be superimposed after the icon is greyed out as it is the case for stardard
error and recompute flags.
2021-01-06 13:54:00 +01:00
wmayer
85270f5cd3
Fix a couple of clang compiler warnings:
...
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
Abdullah Tahiri
85c37aa6c0
PartDesign Gui: Extend ViewProvider with Part::ViewProviderAttachExtension
2019-06-23 01:03:36 +02:00
Abdullah Tahiri
2ac5707072
PartDesign: Refactor set/remove tip in the new Gui::ViewProvider mechanism
2019-06-23 01:03:35 +02:00
wmayer
3653d7ed11
fixes 0003148: PartDesign does not allow colouring of single faces for non-primitives
2018-09-24 19:30:36 +02:00
Abdullah Tahiri
758745f0be
PartDesign: Highlight body tip
...
==============================
It generates a small green icon on the treeview for those features being the tip of the body.
2018-02-01 19:15:48 +01:00
luzpaz
c1152f2a2c
PartDesign: typos
2017-12-25 11:04:43 +01:00
Stefan Tröger
f1c307dc28
PartDesign: Boolean must show the operation result, not the children. fixes #0003184
2017-09-21 10:48:38 +02:00
DeepSOIC
1ee6dcf75e
PartPesign: Py: expose some methods of ViewProvider
...
* setBodyMode(bool)
* makeTemporaryVisible(bool)
2017-03-04 19:16:39 -03:00
DeepSOIC
0160478242
PartDesign: add ViewProviderPython
...
+ bind PartDesign::Feature to PartDesign::ViewProvider, and adjust
viewprovider of PartDesign::FeaturePython accordingly.
2017-03-04 19:16:39 -03:00
Stefan Tröger
8b0d53358a
PartDesign: Adopt primitive preview
...
The preview was developed when the "one feature only" visibility rule was not yet introduced. This commit maks it work again.
2016-04-12 18:12:23 +02:00
Stefan Tröger
048c374080
PartDesign: body is responsible for visuals
...
-Hide all visual properties of features when they are part of a body
-Propagate all body visual changes to features
-Separate display mode from body mode to enable setting display mode for both "tip" and "through" modes
-Use default visuals for body shape and only make "through" a new display mask mode for the children
2016-04-12 18:12:23 +02:00
Stefan Tröger
4164f8fc4c
Ensure only a single PartDesign feature is visible
2016-04-12 18:12:22 +02:00
Alexander Golubev
da1fb99dc5
PartDesign/ViewProvider: minor enhancements
2016-04-12 18:12:16 +02:00
Alexander Golubev
5ee0cea467
PartDesign/Gui: start to unify view providers code
...
- Moved all common code for part design features view providers to a base
class.
- Move shared code for Sketch based features to newly created
ViewProviderSketchBased class
- Add ViewProviderSketchBased to initialization
- Make Pad and Pocket ViewProviders to use the shared code
- Minor fixes to TaskFeatureParameters and some derived classes
2016-04-12 18:12:15 +02:00
jrheinlaender
c21f21666f
Fixed bug that didn't clean up the Body when deleting an object from it
2016-04-12 18:11:54 +02:00
jrheinlaender
3b95517a70
Drop into insert mode when user double-clicks on a PartDesign feature in the Tree
2016-04-12 18:11:50 +02:00
jrheinlaender
bc7dff7339
Moved unsetEdit() to ViewProvider to avoid code duplication in all feature ViewProviders
2016-04-12 18:11:50 +02:00
jrheinlaender
02dfb8551d
Moved some methods from PartDesign::Body to Part::BodyBase so the SketchObjects will be removed cleanly from the Body when deleted
2016-04-12 18:11:49 +02:00
jrheinlaender
8682b5f490
Switch to PartDesign workbench as soon as a PartDesign feature is edited
2016-04-12 18:11:49 +02:00
jrheinlaender
1ec99c5d32
Work on inserting, removing, hiding and showing features in the body
2016-04-12 18:11:48 +02:00
wmayer
68c9d5e0fb
Filter out AddShape property in PartDesign view provider
2012-02-23 11:06:26 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00