QColor c( (int)( aColor.R * 255.0 ), (int)( aColor.G * 255.0 ), (int)( aColor.B * 255.0 ) );
- SUIT_OverrideCursor();
+ SUIT_OverrideCursor wc;
appStudy->setObjectProperty( aMgrId, aChildObject->GetStudyEntry(), GEOM::propertyName( GEOM::Color ), c );
Handle( SALOME_InteractiveObject ) io = new SALOME_InteractiveObject( aChildObject->GetStudyEntry(), "GEOM", "" );
aSColor.B = (double)color.blue() / 255.0;
// iterate through list of objects and assign new color
- SUIT_OverrideCursor();
+ SUIT_OverrideCursor wc;
for ( SALOME_ListIteratorOfListIO It( selected ); It.More(); It.Next() ) {
Handle( SALOME_InteractiveObject ) io = It.Value();
GEOM::GEOM_Object_var aObject = GEOMBase::ConvertIOinGEOMObject( io );
NbIsosDlg->setV( VIso );
if ( NbIsosDlg->exec() ) {
- SUIT_OverrideCursor();
+ SUIT_OverrideCursor wc;
newNbUIso = NbIsosDlg->getU();
newNbVIso = NbIsosDlg->getV();
} else //Cancel case
( SUIT_Session::session()->activeApplication()->desktop() );
DeflectionDlg->setTheDC( aDC );
if ( DeflectionDlg->exec() ) {
- SUIT_OverrideCursor();
+ SUIT_OverrideCursor wc;
aDC = DeflectionDlg->getTheDC();
for ( SALOME_ListIteratorOfListIO It( selected ); It.More(); It.Next() ) {
Dlg->setTheLW( aWidth );
if ( Dlg->exec() ) {
- SUIT_OverrideCursor();
+ SUIT_OverrideCursor wc;
aWidth = Dlg->getTheLW();
} else
return; //Cancel case
Dlg->setTheLW( aWidth );
if ( Dlg->exec() ) {
- SUIT_OverrideCursor();
+ SUIT_OverrideCursor wc;
aWidth = Dlg->getTheLW();
} else
return; //Cancel case