return false;
initName();
+
+ myObjects.length(0);
+ myEditCurrentArgument = GroupPoints->LineEdit1;
+ myEditCurrentArgument->setText("");
+
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;
return false;
initName();
+
+ myObjects.length(0);
+ myEditCurrentArgument = Group1->LineEdit1;
+ myEditCurrentArgument->setText("");
+
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;
else
myEditCurrentArgument->setText(aName);
- if (getConstructorId() == 2)
- Group1->PushButton5->click();
+ /* if (getConstructorId() == 2)
+ Group1->PushButton5->click();*/
}
else if (myEditCurrentArgument == Group1->LineEdit2) {
if (aSelList.Extent() != 1)
return false;
initName();
+
+ myObjects.length(0);
+ myEditCurrentArgument = GroupPoints->LineEdit1;
+ myEditCurrentArgument->setText("");
+
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;
{
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
+ myPoint = GEOM::GEOM_Object::_nil();
+ LineEdit2->clear();
+
switch (constructorId) {
case 0: // translation an object by dx, dy, dz
TextLabel3->setText(tr("GEOM_SCALE_FACTOR"));
return false;
initName(tr("GEOM_SCALE"));
+
+ myObjects.length(0);
+ myEditCurrentArgument = LineEdit1;
+ myEditCurrentArgument->setText("");
+
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;
return false;
initName();
+
+ myObjects.length(0);
+ myEditCurrentArgument = GroupPoints->LineEdit1;
+ myEditCurrentArgument->setText("");
+
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;