}
}
+//----------------------------------------------------------------------------
+void
+VisuGUI
+::OnSwitchSelectionMode( int theId )
+{
+ for( int anId = VISU_ACTOR_SELECTION; anId <= VISU_GAUSS_POINT_SELECTION; anId++ )
+ {
+ QAction* aRefAction = action( anId );
+ aRefAction->setChecked( anId == VISU_ACTOR_SELECTION + theId );
+ }
+}
+
//----------------------------------------------------------------------------
void
VisuGUI
{
mySelectionPanel = new VisuGUI_SelectionPanel( this );
mySelectionPanel->update();
+ connect( mySelectionPanel, SIGNAL( selectionModeChanged( int ) ), this, SLOT( OnSwitchSelectionMode( int ) ) );
}
//***************************************************************************
void OnToggleSelectionPanel();
void OnSwitchSelectionMode();
+ void OnSwitchSelectionMode( int );
void OnMakeSurfaceframe();
void OnMakeInsideframe();