From: vsv Date: Mon, 29 Dec 2014 14:01:53 +0000 (+0300) Subject: Obsolete keyword "use-subshapes" is removed X-Git-Tag: V_0.7.0_rc1~15^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c0c2a91aeee454191e746b61e5262436d748a60f;p=modules%2Fshaper.git Obsolete keyword "use-subshapes" is removed --- diff --git a/src/ConstructionPlugin/axis_widget.xml b/src/ConstructionPlugin/axis_widget.xml index 8d4a40a8d..8bd931b3d 100644 --- a/src/ConstructionPlugin/axis_widget.xml +++ b/src/ConstructionPlugin/axis_widget.xml @@ -6,13 +6,11 @@ icon=":icons/point.png" tooltip="Select a first point" shape_types="vertex" - use_subshapes="true" /> diff --git a/src/ConstructionPlugin/plane_widget.xml b/src/ConstructionPlugin/plane_widget.xml index 546cc919b..73b29f012 100644 --- a/src/ConstructionPlugin/plane_widget.xml +++ b/src/ConstructionPlugin/plane_widget.xml @@ -5,7 +5,6 @@ label="Plane face" tooltip="Select a planar face" shape_types="face" - use_subshapes="true"> diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp index 114a76748..f3d2807da 100644 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp @@ -62,9 +62,6 @@ ModuleBase_WidgetMultiSelector::ModuleBase_WidgetMultiSelector(QWidget* theParen aMainLay->addWidget(new QLabel(myMainWidget)); aMainLay->setRowMinimumHeight(3, 20); myMainWidget->setLayout(aMainLay); - //TODO: Move into the base class - myUseSubShapes = theData->getBooleanAttribute("use_subshapes", false); - //TODO_END connect(myTypeCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(onSelectionTypeChanged())); myCopyAction = new QAction(QIcon(":pictures/copy.png"), tr("Copy"), this); diff --git a/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp b/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp index ba0f248af..bea20b3fc 100644 --- a/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp @@ -119,8 +119,6 @@ ModuleBase_WidgetShapeSelector::ModuleBase_WidgetShapeSelector(QWidget* theParen std::string aObjTypes = theData->getProperty("object_types"); myObjectTypes = QString(aObjTypes.c_str()).split(' ', QString::SkipEmptyParts); - - //myUseSubShapes = theData->getBooleanAttribute("use_subshapes", false); } //******************************************************************** diff --git a/src/SketchPlugin/plugin-Sketch.xml b/src/SketchPlugin/plugin-Sketch.xml index e52d615f0..e249eb240 100644 --- a/src/SketchPlugin/plugin-Sketch.xml +++ b/src/SketchPlugin/plugin-Sketch.xml @@ -49,13 +49,12 @@ id="ConstraintEntityA" label="First object" tooltip="Select point, line end point, line, center of circle or arc." - shape_types="edge vertex" - use_subshapes="true"/> + shape_types="edge vertex"/> + shape_types="edge vertex"> @@ -96,13 +95,12 @@ + label="First line" tooltip="Select a line" shape_types="edge"> + shape_types="edge"> @@ -114,13 +112,13 @@ + shape_types="edge"> + shape_types="edge">