Correct names

This commit is contained in:
jfa 2007-12-19 10:00:22 +00:00
parent 02876a85d7
commit d11e79ac18

View File

@ -181,7 +181,7 @@ void BasicGUI_CircleDlg::Init()
GroupPntVecR->SpinBox_DX, SLOT(SetStep(double))); GroupPntVecR->SpinBox_DX, SLOT(SetStep(double)));
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()), connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
this, SLOT(SelectionIntoArgument())) ; this, SLOT(SelectionIntoArgument()));
initName( tr( "GEOM_CIRCLE" ) ); initName( tr( "GEOM_CIRCLE" ) );
@ -273,10 +273,10 @@ bool BasicGUI_CircleDlg::ClickOnApply()
return true; return true;
} }
//======================================================================= //=================================================================================
// function : ClickOnCancel() // function : ClickOnCancel()
// purpose : // purpose :
//======================================================================= //=================================================================================
void BasicGUI_CircleDlg::ClickOnCancel() void BasicGUI_CircleDlg::ClickOnCancel()
{ {
GEOMBase_Skeleton::ClickOnCancel(); GEOMBase_Skeleton::ClickOnCancel();
@ -337,9 +337,9 @@ void BasicGUI_CircleDlg::SelectionIntoArgument()
aSelMgr->clearSelected(); // ??? aSelMgr->clearSelected(); // ???
if (aNeedType == TopAbs_EDGE) if (aNeedType == TopAbs_EDGE)
aName += QString("_edge_%1").arg(anIndex); aName += QString(":edge_%1").arg(anIndex);
else else
aName += QString("_vertex_%1").arg(anIndex); aName += QString(":vertex_%1").arg(anIndex);
} }
else // Global Selection else // Global Selection
{ {
@ -417,7 +417,6 @@ void BasicGUI_CircleDlg::LineEditReturnPressed()
} }
} }
//================================================================================= //=================================================================================
// function : ActivateThisDialog() // function : ActivateThisDialog()
// purpose : // purpose :
@ -425,15 +424,12 @@ void BasicGUI_CircleDlg::LineEditReturnPressed()
void BasicGUI_CircleDlg::ActivateThisDialog() void BasicGUI_CircleDlg::ActivateThisDialog()
{ {
GEOMBase_Skeleton::ActivateThisDialog(); GEOMBase_Skeleton::ActivateThisDialog();
globalSelection();
localSelection(GEOM::GEOM_Object::_nil(), TopAbs_VERTEX);
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()), connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
this, SLOT(SelectionIntoArgument())); this, SLOT(SelectionIntoArgument()));
ConstructorsClicked( getConstructorId() ); ConstructorsClicked( getConstructorId() );
} }
//================================================================================= //=================================================================================
// function : enterEvent() // function : enterEvent()
// purpose : // purpose :