mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-30 19:10:33 +05:00
Fix signals in MeasureGUI dialog
This commit is contained in:
parent
c11f35e20d
commit
b8db699e10
@ -228,9 +228,9 @@ void MeasureGUI_ManageDimensionsDlg::StartSelection( const Selection theSelectio
|
|||||||
myDimensionInteractor->Enable();
|
myDimensionInteractor->Enable();
|
||||||
|
|
||||||
connect( myDimensionInteractor,
|
connect( myDimensionInteractor,
|
||||||
SIGNAL( InteractionFinished( Handle(AIS_InteractiveObject) ) ),
|
SIGNAL( InteractionFinished( Handle_AIS_InteractiveObject ) ),
|
||||||
this,
|
this,
|
||||||
SLOT( OnInteractionFinished( Handle(AIS_InteractiveObject) ) ) );
|
SLOT( OnInteractionFinished( Handle_AIS_InteractiveObject ) ) );
|
||||||
|
|
||||||
anAISContext->UpdateCurrentViewer();
|
anAISContext->UpdateCurrentViewer();
|
||||||
}
|
}
|
||||||
@ -290,9 +290,9 @@ void MeasureGUI_ManageDimensionsDlg::StopSelection()
|
|||||||
myDimensionInteractor->Disable();
|
myDimensionInteractor->Disable();
|
||||||
|
|
||||||
disconnect( myDimensionInteractor,
|
disconnect( myDimensionInteractor,
|
||||||
SIGNAL( InteractionFinished( Handle(AIS_InteractiveObject) ) ),
|
SIGNAL( InteractionFinished( Handle_AIS_InteractiveObject ) ),
|
||||||
this,
|
this,
|
||||||
SLOT( OnInteractionFinished( Handle(AIS_InteractiveObject) ) ) );
|
SLOT( OnInteractionFinished( Handle_AIS_InteractiveObject ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
myCurrentSelection = Selection_None;
|
myCurrentSelection = Selection_None;
|
||||||
@ -628,7 +628,7 @@ void MeasureGUI_ManageDimensionsDlg::OnHideAll()
|
|||||||
// function : OnInteractionFinished
|
// function : OnInteractionFinished
|
||||||
// purpose :
|
// purpose :
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
void MeasureGUI_ManageDimensionsDlg::OnInteractionFinished( Handle(AIS_InteractiveObject) theIO )
|
void MeasureGUI_ManageDimensionsDlg::OnInteractionFinished( Handle_AIS_InteractiveObject theIO )
|
||||||
{
|
{
|
||||||
// update property data
|
// update property data
|
||||||
SalomeApp_Application* anApp = myGeomGUI->getApp();
|
SalomeApp_Application* anApp = myGeomGUI->getApp();
|
||||||
|
Loading…
Reference in New Issue
Block a user