mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Clarification
This commit is contained in:
parent
f52342ec68
commit
913c682099
@ -3046,7 +3046,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
||||
case SMESHOp::OpMGAdapt:
|
||||
{
|
||||
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
|
||||
case SMESHOp::OpSplitBiQuadratic:
|
||||
|
@ -48,7 +48,7 @@ SMESHGUI_AdaptDlg::SMESHGUI_AdaptDlg( SMESHGUI* theModule,
|
||||
SMESH::SMESH_Mesh_ptr theMesh )
|
||||
: mySMESHGUI( theModule )
|
||||
{
|
||||
bool ok = action( theCommandID ) ;
|
||||
action( theCommandID ) ;
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
@ -64,19 +64,19 @@ SMESHGUI_AdaptDlg::~SMESHGUI_AdaptDlg()
|
||||
* \param
|
||||
* \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;
|
||||
|
||||
// Preferences
|
||||
recupPreferences();
|
||||
// recupPreferences();
|
||||
|
||||
// Menus and actions
|
||||
bool ok = OnGUIEvent (theCommandID) ;
|
||||
if ( ! ok ) INFOS("Erreur");
|
||||
|
||||
return ok ;
|
||||
return ;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
@ -40,17 +40,15 @@ class SMESHGUI;
|
||||
// class : SMESHGUI_AdaptDlg
|
||||
// purpose :
|
||||
//=================================================================================
|
||||
class SMESHGUI_EXPORT SMESHGUI_AdaptDlg : public QDialog
|
||||
class SMESHGUI_EXPORT SMESHGUI_AdaptDlg : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SMESHGUI_AdaptDlg( SMESHGUI*,
|
||||
int theCommandID,
|
||||
SMESH::SMESH_Mesh_ptr = SMESH::SMESH_Mesh::_nil() );
|
||||
~SMESHGUI_AdaptDlg();
|
||||
|
||||
virtual bool action (int theCommandID);
|
||||
void action (int theCommandID);
|
||||
virtual bool OnGUIEvent (int theCommandID);
|
||||
|
||||
// static ADAPT::ADAPT_Gen_var InitAdaptGen(SalomeApp_Application*);
|
||||
|
Loading…
Reference in New Issue
Block a user