mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 09:40:35 +05:00
untabify
This commit is contained in:
parent
5b7eddf17a
commit
13c23ff6b0
@ -45,7 +45,7 @@ class SMESHGUI_EXPORT SMESHGUI_Dialog : public LightApp_Dialog
|
||||
|
||||
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();
|
||||
|
@ -367,7 +367,7 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply()
|
||||
|
||||
if ( !myMeshActor ) {
|
||||
SUIT_MessageBox::warning( dlg(), tr( "SMESH_WRN_WARNING" ),
|
||||
tr("INVALID_MESH") );
|
||||
tr("INVALID_MESH") );
|
||||
dlg()->show();
|
||||
return false;
|
||||
}
|
||||
@ -376,7 +376,7 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply()
|
||||
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;
|
||||
}
|
||||
@ -386,7 +386,7 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply()
|
||||
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();
|
||||
|
@ -423,9 +423,9 @@ void SMESHGUI_SelectionOp::selected( QStringList& names,
|
||||
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() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,9 +52,9 @@ public:
|
||||
~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;
|
||||
|
Loading…
Reference in New Issue
Block a user