X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_MultiEditDlg.h;h=019afa8851211b151fa12a36fe80fbe002d9319d;hp=1b4a8ffa930c8051a997c3c889fba742a9d4d594;hb=HEAD;hpb=251f8c052dd12dd29922210dc901b295fe999a0e diff --git a/src/SMESHGUI/SMESHGUI_MultiEditDlg.h b/src/SMESHGUI/SMESHGUI_MultiEditDlg.h old mode 100755 new mode 100644 index 1b4a8ffa9..ba7ae89e1 --- a/src/SMESHGUI/SMESHGUI_MultiEditDlg.h +++ b/src/SMESHGUI/SMESHGUI_MultiEditDlg.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -41,6 +41,8 @@ #include CORBA_SERVER_HEADER(SMESH_Mesh) #include CORBA_SERVER_HEADER(SMESH_MeshEditor) +#include + class SMESHGUI; class SMESHGUI_FilterDlg; class SMESHGUI_SpinBox; @@ -102,6 +104,8 @@ protected slots: virtual void onToAllChk(); void onFilterAccepted(); virtual void on3d2dChanged(int); + void onOpenView(); + void onCloseView(); SMESH::NumericalFunctor_ptr getNumericalFunctor(); @@ -111,14 +115,14 @@ protected: QWidget* createButtonFrame( QWidget* ); QWidget* createMainFrame( QWidget*, const bool ); virtual bool isValid( const bool ); - SMESH::long_array_var getIds(SMESH::SMESH_IDSource_var& obj); + SMESH::smIdType_array_var getIds(SMESH::SMESH_IDSource_var& obj); void updateButtons(); virtual void setSelectionMode(); virtual bool isIdValid( const int ) const; virtual bool process( SMESH::SMESH_MeshEditor_ptr, - const SMESH::long_array& , + const SMESH::smIdType_array& , SMESH::SMESH_IDSource_ptr obj) = 0; - virtual int nbElemsInMesh() = 0; + virtual smIdType nbElemsInMesh() = 0; int entityType(); protected: @@ -180,9 +184,9 @@ public: protected: virtual bool process( SMESH::SMESH_MeshEditor_ptr, - const SMESH::long_array& , + const SMESH::smIdType_array& , SMESH::SMESH_IDSource_ptr obj); - virtual int nbElemsInMesh(); + virtual smIdType nbElemsInMesh(); }; /*! @@ -200,9 +204,9 @@ public: protected: virtual bool isValid( const bool ); virtual bool process( SMESH::SMESH_MeshEditor_ptr, - const SMESH::long_array&, + const SMESH::smIdType_array&, SMESH::SMESH_IDSource_ptr obj ); - virtual int nbElemsInMesh(); + virtual smIdType nbElemsInMesh(); protected slots: virtual void onDisplaySimulation( bool ); @@ -225,9 +229,9 @@ public: protected: virtual bool process( SMESH::SMESH_MeshEditor_ptr, - const SMESH::long_array& , + const SMESH::smIdType_array& , SMESH::SMESH_IDSource_ptr obj); - virtual int nbElemsInMesh(); + virtual smIdType nbElemsInMesh(); protected slots: virtual void reject(); @@ -267,9 +271,9 @@ protected slots: protected: virtual bool process( SMESH::SMESH_MeshEditor_ptr, - const SMESH::long_array&, + const SMESH::smIdType_array&, SMESH::SMESH_IDSource_ptr obj ); - virtual int nbElemsInMesh(); + virtual smIdType nbElemsInMesh(); virtual void setSelectionMode(); void showFacetByElement( int id );