Salome HOME
Copyrights update
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshOp.h
index 063ebcaac73e14becd064b87da1d7c3403a9c111..5041fcecb5e271d3ff17296ee8c4b8c96ddc8445 100644 (file)
@@ -1,3 +1,22 @@
+// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/
+//
 /**
 *  SMESH SMESHGUI
 *
@@ -40,7 +59,7 @@ public:
   SMESHGUI_MeshOp( const bool theToCreate, const bool theIsMesh = true );
   virtual ~SMESHGUI_MeshOp();
   
-  virtual SalomeApp_Dialog*      dlg() const;  
+  virtual LightApp_Dialog*       dlg() const;  
 
 protected:
   virtual void                   startOperation();
@@ -52,6 +71,7 @@ protected slots:
   virtual bool                   onApply();
   void                           onCreateHyp( const int theHypType, const int theIndex );
   void                           onEditHyp( const int theHypType, const int theIndex );
+  void                           onHypoSet( const QString& theSetName );
 
 private:
   bool                           isValid( QString& ) const;
@@ -69,6 +89,7 @@ private:
   bool                           editMeshOrSubMesh( QString& );
   
   int                            currentHyp( const int, const int ) const;
+  bool                           isAccessibleDim( const int ) const;
   void                           setCurrentHyp( const int, const int, const int );
   void                           setDefaultName() const;
   SMESH::SMESH_Hypothesis_var    getAlgo( const int );