mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-01 04:10:34 +05:00
IPAL22046 TC 5.1.5: Modify the Location - impossible to select the same Path object after Apply
This commit is contained in:
parent
4f5efb008b
commit
45783147f0
@ -197,6 +197,11 @@ bool TransformationGUI_MirrorDlg::ClickOnApply()
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
initName();
|
initName();
|
||||||
|
|
||||||
|
myObjects.length(0);
|
||||||
|
myEditCurrentArgument = GroupPoints->LineEdit1;
|
||||||
|
myEditCurrentArgument->setText("");
|
||||||
|
|
||||||
// activate selection and connect selection manager
|
// activate selection and connect selection manager
|
||||||
ConstructorsClicked(getConstructorId());
|
ConstructorsClicked(getConstructorId());
|
||||||
return true;
|
return true;
|
||||||
|
@ -300,6 +300,11 @@ bool TransformationGUI_PositionDlg::ClickOnApply()
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
initName();
|
initName();
|
||||||
|
|
||||||
|
myObjects.length(0);
|
||||||
|
myEditCurrentArgument = Group1->LineEdit1;
|
||||||
|
myEditCurrentArgument->setText("");
|
||||||
|
|
||||||
// activate selection and connect selection manager
|
// activate selection and connect selection manager
|
||||||
ConstructorsClicked(getConstructorId());
|
ConstructorsClicked(getConstructorId());
|
||||||
return true;
|
return true;
|
||||||
@ -340,8 +345,8 @@ void TransformationGUI_PositionDlg::SelectionIntoArgument()
|
|||||||
else
|
else
|
||||||
myEditCurrentArgument->setText(aName);
|
myEditCurrentArgument->setText(aName);
|
||||||
|
|
||||||
if (getConstructorId() == 2)
|
/* if (getConstructorId() == 2)
|
||||||
Group1->PushButton5->click();
|
Group1->PushButton5->click();*/
|
||||||
}
|
}
|
||||||
else if (myEditCurrentArgument == Group1->LineEdit2) {
|
else if (myEditCurrentArgument == Group1->LineEdit2) {
|
||||||
if (aSelList.Extent() != 1)
|
if (aSelList.Extent() != 1)
|
||||||
|
@ -236,6 +236,11 @@ bool TransformationGUI_RotationDlg::ClickOnApply()
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
initName();
|
initName();
|
||||||
|
|
||||||
|
myObjects.length(0);
|
||||||
|
myEditCurrentArgument = GroupPoints->LineEdit1;
|
||||||
|
myEditCurrentArgument->setText("");
|
||||||
|
|
||||||
// activate selection and connect selection manager
|
// activate selection and connect selection manager
|
||||||
ConstructorsClicked(getConstructorId());
|
ConstructorsClicked(getConstructorId());
|
||||||
return true;
|
return true;
|
||||||
|
@ -202,6 +202,9 @@ void TransformationGUI_ScaleDlg::ConstructorsClicked (int constructorId)
|
|||||||
{
|
{
|
||||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||||
|
|
||||||
|
myPoint = GEOM::GEOM_Object::_nil();
|
||||||
|
LineEdit2->clear();
|
||||||
|
|
||||||
switch (constructorId) {
|
switch (constructorId) {
|
||||||
case 0: // translation an object by dx, dy, dz
|
case 0: // translation an object by dx, dy, dz
|
||||||
TextLabel3->setText(tr("GEOM_SCALE_FACTOR"));
|
TextLabel3->setText(tr("GEOM_SCALE_FACTOR"));
|
||||||
@ -258,6 +261,11 @@ bool TransformationGUI_ScaleDlg::ClickOnApply()
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
initName(tr("GEOM_SCALE"));
|
initName(tr("GEOM_SCALE"));
|
||||||
|
|
||||||
|
myObjects.length(0);
|
||||||
|
myEditCurrentArgument = LineEdit1;
|
||||||
|
myEditCurrentArgument->setText("");
|
||||||
|
|
||||||
// activate selection and connect selection manager
|
// activate selection and connect selection manager
|
||||||
ConstructorsClicked(getConstructorId());
|
ConstructorsClicked(getConstructorId());
|
||||||
return true;
|
return true;
|
||||||
|
@ -272,6 +272,11 @@ bool TransformationGUI_TranslationDlg::ClickOnApply()
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
initName();
|
initName();
|
||||||
|
|
||||||
|
myObjects.length(0);
|
||||||
|
myEditCurrentArgument = GroupPoints->LineEdit1;
|
||||||
|
myEditCurrentArgument->setText("");
|
||||||
|
|
||||||
// activate selection and connect selection manager
|
// activate selection and connect selection manager
|
||||||
ConstructorsClicked(getConstructorId());
|
ConstructorsClicked(getConstructorId());
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user