anInput.myFieldName = CORBA::string_dup( aFieldName.latin1() );
anInput.myTimeStampNumber = 1;
+ QApplication::setOverrideCursor(Qt::waitCursor);
+
size_t isOk = VISU::CheckIsPossible( myType, anInput, true );
+
+ QApplication::restoreOverrideCursor();
+
return isOk > 0;
}
}
if( myReInit->isChecked() && myPrs )
{
+ QApplication::setOverrideCursor(Qt::waitCursor);
+
myPrs->SetResultObject( myResult );
myPrs->SetMeshName( aMeshName.latin1() );
myPrs->SetEntity( VISU::Entity( myEntity ) );
myPrs->Apply( true );
myDialog->initFromPrsObject( myPrs, false );
+
+ QApplication::restoreOverrideCursor();
}
}
}
//---------------------------------------------------------------
void VisuGUI_InputPane::changeTimeStamp( int theTimeStamp )
{
+ QApplication::setOverrideCursor(Qt::waitCursor);
+
myPrs->SetTimeStampNumber( myPrs->GetTimeStampNumberByIndex( theTimeStamp ) );
myPrs->Apply( true );
myDialog->initFromPrsObject( myPrs, false );
+
+ QApplication::restoreOverrideCursor();
}
VISU::ColoredPrs3dHolder::BasicInput_var anInput = aHolder->GetBasicInput();
anInput->myTimeStampNumber = aNumber;
+ QApplication::setOverrideCursor(Qt::waitCursor);
+
aHolder->Apply( aPrs3d, anInput, myView3D );
+
+ QApplication::restoreOverrideCursor();
}
updateMemoryState();