IPAL21437 Multi-selection is not impossible in transformation dialogs.

This commit is contained in:
dmv 2009-10-28 11:39:37 +00:00
parent e59444bf0e
commit 9ba9c7a29a
5 changed files with 17 additions and 12 deletions

View File

@ -289,10 +289,11 @@ void TransformationGUI_MirrorDlg::SelectionIntoArgument()
}
// clear selection
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
myGeomGUI->getApp()->selectionMgr()->clearSelected();
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
this, SLOT(SelectionIntoArgument()));
this, SLOT(SelectionIntoArgument()));*/
// here commented, because multiple objects can be selected IPAL 21437
displayPreview();
}

View File

@ -425,10 +425,11 @@ void TransformationGUI_PositionDlg::SelectionIntoArgument()
}
// clear selection
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
myGeomGUI->getApp()->selectionMgr()->clearSelected();
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
this, SLOT(SelectionIntoArgument()));
this, SLOT(SelectionIntoArgument()));*/
// here commented, because multiple objects can be selected IPAL 21437
displayPreview();
}

View File

@ -332,10 +332,10 @@ void TransformationGUI_RotationDlg::SelectionIntoArgument()
myEditCurrentArgument->setText(aName);
if (myEditCurrentArgument == GroupPoints->LineEdit1) {
if (myObjects.length()) {
/* if (myObjects.length()) {
if (getConstructorId() == 0 && myAxis->_is_nil() || getConstructorId() == 1 && myCentPoint->_is_nil() )
GroupPoints->PushButton2->click();
}
}*/ // here commented, because multiple objects can be selected IPAL 21437
}
else if (myEditCurrentArgument == GroupPoints->LineEdit2 && getConstructorId() == 0) {
myAxis = aSelectedObject;
@ -359,10 +359,11 @@ void TransformationGUI_RotationDlg::SelectionIntoArgument()
}
// clear selection
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
myGeomGUI->getApp()->selectionMgr()->clearSelected();
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
this, SLOT(SelectionIntoArgument()));
this, SLOT(SelectionIntoArgument()));*/
// here commented, because multiple objects can be selected IPAL 21437
displayPreview();
}

View File

@ -344,10 +344,11 @@ void TransformationGUI_ScaleDlg::SelectionIntoArgument()
}
// clear selection
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
myGeomGUI->getApp()->selectionMgr()->clearSelected();
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
this, SLOT(SelectionIntoArgument()));
this, SLOT(SelectionIntoArgument()));*/
// here commented, because multiple objects can be selected IPAL 21437
displayPreview();
}

View File

@ -396,10 +396,11 @@ void TransformationGUI_TranslationDlg::SelectionIntoArgument()
}
// clear selection
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
myGeomGUI->getApp()->selectionMgr()->clearSelected();
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
this, SLOT(SelectionIntoArgument()));
this, SLOT(SelectionIntoArgument()));*/
// here commented, because multiple objects can be selected IPAL 21437
displayPreview();
}