Gui: divide ViewProviderGeometryObject properties into groups

.


.


.


.
This commit is contained in:
carlopav
2020-06-22 22:24:40 +02:00
committed by wwmayer
parent 4442a9cf3a
commit 7a84e52fa1
2 changed files with 13 additions and 9 deletions

View File

@@ -73,12 +73,12 @@ ViewProviderDocumentObject::ViewProviderDocumentObject()
, pcDocument(nullptr)
, _UpdatingView(false)
{
static const char *dmgroup = "Display Options";
static const char *dogroup = "Display Options";
static const char *sgroup = "Selection";
ADD_PROPERTY_TYPE(DisplayMode, ((long)0), dmgroup, App::Prop_None, "Set the display mode");
ADD_PROPERTY_TYPE(Visibility, (true), dmgroup, App::Prop_None, "Show the object in the 3d view");
ADD_PROPERTY_TYPE(ShowInTree, (true), dmgroup, App::Prop_None, "Show the object in the tree view");
ADD_PROPERTY_TYPE(DisplayMode, ((long)0), dogroup, App::Prop_None, "Set the display mode");
ADD_PROPERTY_TYPE(Visibility, (true), dogroup, App::Prop_None, "Show the object in the 3d view");
ADD_PROPERTY_TYPE(ShowInTree, (true), dogroup, App::Prop_None, "Show the object in the tree view");
ADD_PROPERTY_TYPE(SelectionStyle, ((long)0), sgroup, App::Prop_None, "Set the object selection style");
static const char *SelectionStyleEnum[] = {"Shape","BoundBox",0};