mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 02:00:34 +05:00
Clarification
This commit is contained in:
parent
f52342ec68
commit
913c682099
@ -3046,7 +3046,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
case SMESHOp::OpMGAdapt:
|
case SMESHOp::OpMGAdapt:
|
||||||
{
|
{
|
||||||
SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_nil();
|
SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_nil();
|
||||||
SMESHGUI_AdaptDlg *aDlg = new SMESHGUI_AdaptDlg( this, theCommandID, aMesh);
|
SMESHGUI_AdaptDlg *objet = new SMESHGUI_AdaptDlg( this, theCommandID, aMesh);
|
||||||
}
|
}
|
||||||
// Adaptation - end
|
// Adaptation - end
|
||||||
case SMESHOp::OpSplitBiQuadratic:
|
case SMESHOp::OpSplitBiQuadratic:
|
||||||
|
@ -48,7 +48,7 @@ SMESHGUI_AdaptDlg::SMESHGUI_AdaptDlg( SMESHGUI* theModule,
|
|||||||
SMESH::SMESH_Mesh_ptr theMesh )
|
SMESH::SMESH_Mesh_ptr theMesh )
|
||||||
: mySMESHGUI( theModule )
|
: mySMESHGUI( theModule )
|
||||||
{
|
{
|
||||||
bool ok = action( theCommandID ) ;
|
action( theCommandID ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
@ -64,19 +64,19 @@ SMESHGUI_AdaptDlg::~SMESHGUI_AdaptDlg()
|
|||||||
* \param
|
* \param
|
||||||
* \return bool OK/notOK
|
* \return bool OK/notOK
|
||||||
*/
|
*/
|
||||||
bool SMESHGUI_AdaptDlg::action (int theCommandID)
|
void SMESHGUI_AdaptDlg::action (int theCommandID)
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
{
|
{
|
||||||
std::cout << "SMESHGUI_AdaptDlg::action avec theCommandID : " << theCommandID << std::endl;
|
std::cout << "SMESHGUI_AdaptDlg::action avec theCommandID : " << theCommandID << std::endl;
|
||||||
|
|
||||||
// Preferences
|
// Preferences
|
||||||
recupPreferences();
|
// recupPreferences();
|
||||||
|
|
||||||
// Menus and actions
|
// Menus and actions
|
||||||
bool ok = OnGUIEvent (theCommandID) ;
|
bool ok = OnGUIEvent (theCommandID) ;
|
||||||
if ( ! ok ) INFOS("Erreur");
|
if ( ! ok ) INFOS("Erreur");
|
||||||
|
|
||||||
return ok ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -40,17 +40,15 @@ class SMESHGUI;
|
|||||||
// class : SMESHGUI_AdaptDlg
|
// class : SMESHGUI_AdaptDlg
|
||||||
// purpose :
|
// purpose :
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
class SMESHGUI_EXPORT SMESHGUI_AdaptDlg : public QDialog
|
class SMESHGUI_EXPORT SMESHGUI_AdaptDlg : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SMESHGUI_AdaptDlg( SMESHGUI*,
|
SMESHGUI_AdaptDlg( SMESHGUI*,
|
||||||
int theCommandID,
|
int theCommandID,
|
||||||
SMESH::SMESH_Mesh_ptr = SMESH::SMESH_Mesh::_nil() );
|
SMESH::SMESH_Mesh_ptr = SMESH::SMESH_Mesh::_nil() );
|
||||||
~SMESHGUI_AdaptDlg();
|
~SMESHGUI_AdaptDlg();
|
||||||
|
|
||||||
virtual bool action (int theCommandID);
|
void action (int theCommandID);
|
||||||
virtual bool OnGUIEvent (int theCommandID);
|
virtual bool OnGUIEvent (int theCommandID);
|
||||||
|
|
||||||
// static ADAPT::ADAPT_Gen_var InitAdaptGen(SalomeApp_Application*);
|
// static ADAPT::ADAPT_Gen_var InitAdaptGen(SalomeApp_Application*);
|
||||||
|
Loading…
Reference in New Issue
Block a user