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:
|
public:
|
||||||
SMESHGUI_Dialog( QWidget* = 0, const bool = false, const bool = false,
|
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 ~SMESHGUI_Dialog();
|
||||||
|
|
||||||
virtual void show();
|
virtual void show();
|
||||||
|
@ -367,7 +367,7 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply()
|
|||||||
|
|
||||||
if ( !myMeshActor ) {
|
if ( !myMeshActor ) {
|
||||||
SUIT_MessageBox::warning( dlg(), tr( "SMESH_WRN_WARNING" ),
|
SUIT_MessageBox::warning( dlg(), tr( "SMESH_WRN_WARNING" ),
|
||||||
tr("INVALID_MESH") );
|
tr("INVALID_MESH") );
|
||||||
dlg()->show();
|
dlg()->show();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -376,7 +376,7 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply()
|
|||||||
if ( !isValid( msg ) ) { // node id is invalid
|
if ( !isValid( msg ) ) { // node id is invalid
|
||||||
if( !msg.isEmpty() )
|
if( !msg.isEmpty() )
|
||||||
SUIT_MessageBox::warning( dlg(), tr( "SMESH_WRN_WARNING" ),
|
SUIT_MessageBox::warning( dlg(), tr( "SMESH_WRN_WARNING" ),
|
||||||
tr("INVALID_ID") );
|
tr("INVALID_ID") );
|
||||||
dlg()->show();
|
dlg()->show();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -386,7 +386,7 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply()
|
|||||||
SMESH::SMESH_Mesh_var aMesh = SMESH::GetMeshByIO(myMeshActor->getIO());
|
SMESH::SMESH_Mesh_var aMesh = SMESH::GetMeshByIO(myMeshActor->getIO());
|
||||||
if (aMesh->_is_nil()) {
|
if (aMesh->_is_nil()) {
|
||||||
SUIT_MessageBox::information(SMESHGUI::desktop(), tr("SMESH_ERROR"),
|
SUIT_MessageBox::information(SMESHGUI::desktop(), tr("SMESH_ERROR"),
|
||||||
tr("SMESHG_NO_MESH") );
|
tr("SMESHG_NO_MESH") );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SMESH::SMESH_MeshEditor_var aMeshEditor = aMesh->GetMeshEditor();
|
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() );
|
SalomeApp_Study* _study = dynamic_cast<SalomeApp_Study*>( study() );
|
||||||
if( _study )
|
if( _study )
|
||||||
{
|
{
|
||||||
_PTR(SObject) obj = _study->studyDS()->FindObjectID( anIt.Value()->getEntry() );
|
_PTR(SObject) obj = _study->studyDS()->FindObjectID( anIt.Value()->getEntry() );
|
||||||
if( obj )
|
if( obj )
|
||||||
names.append( obj->GetName().c_str() );
|
names.append( obj->GetName().c_str() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,9 +52,9 @@ public:
|
|||||||
~SMESHGUI_SpinBox();
|
~SMESHGUI_SpinBox();
|
||||||
|
|
||||||
void RangeStepAndValidator( double = -1000000.0,
|
void RangeStepAndValidator( double = -1000000.0,
|
||||||
double = +1000000.0,
|
double = +1000000.0,
|
||||||
double = 100.0,
|
double = 100.0,
|
||||||
unsigned short = 3 );
|
unsigned short = 3 );
|
||||||
void SetValue( double );
|
void SetValue( double );
|
||||||
double GetValue() const;
|
double GetValue() const;
|
||||||
QString GetString() const;
|
QString GetString() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user