public:
SMESHGUI_Dialog( QWidget* = 0, const bool = false, const bool = false,
- const int = OK | Close | Apply | Help );
+ const int = OK | Close | Apply | Help );
virtual ~SMESHGUI_Dialog();
virtual void show();
if ( !myMeshActor ) {
SUIT_MessageBox::warning( dlg(), tr( "SMESH_WRN_WARNING" ),
- tr("INVALID_MESH") );
+ tr("INVALID_MESH") );
dlg()->show();
return false;
}
if ( !isValid( msg ) ) { // node id is invalid
if( !msg.isEmpty() )
SUIT_MessageBox::warning( dlg(), tr( "SMESH_WRN_WARNING" ),
- tr("INVALID_ID") );
+ tr("INVALID_ID") );
dlg()->show();
return false;
}
SMESH::SMESH_Mesh_var aMesh = SMESH::GetMeshByIO(myMeshActor->getIO());
if (aMesh->_is_nil()) {
SUIT_MessageBox::information(SMESHGUI::desktop(), tr("SMESH_ERROR"),
- tr("SMESHG_NO_MESH") );
+ tr("SMESHG_NO_MESH") );
return true;
}
SMESH::SMESH_MeshEditor_var aMeshEditor = aMesh->GetMeshEditor();
SalomeApp_Study* _study = dynamic_cast<SalomeApp_Study*>( study() );
if( _study )
{
- _PTR(SObject) obj = _study->studyDS()->FindObjectID( anIt.Value()->getEntry() );
- if( obj )
- names.append( obj->GetName().c_str() );
+ _PTR(SObject) obj = _study->studyDS()->FindObjectID( anIt.Value()->getEntry() );
+ if( obj )
+ names.append( obj->GetName().c_str() );
}
}
}
~SMESHGUI_SpinBox();
void RangeStepAndValidator( double = -1000000.0,
- double = +1000000.0,
- double = 100.0,
- unsigned short = 3 );
+ double = +1000000.0,
+ double = 100.0,
+ unsigned short = 3 );
void SetValue( double );
double GetValue() const;
QString GetString() const;