Salome HOME
IPAL9147
[modules/smesh.git] / src / StdMeshersGUI / StdMeshersGUI_CreateStdHypothesisDlg.h
1 //  SMESH SMESHGUI : GUI for SMESH component
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 //
22 //
23 //
24 //  File   : StdMeshersGUI_CreateStdHypothesisDlg.h
25 //           Moved here from SMESHGUI_CreateStdHypothesisDlg.h
26 //  Author : Nicolas REJNERI
27 //  Module : SMESH
28 //  $Header$
29
30 #ifndef DIALOGBOX_CreateStdHypothesisDlg_H
31 #define DIALOGBOX_CreateStdHypothesisDlg_H
32
33 #include "StdMeshersGUI_CreateHypothesisDlg.h"
34
35 //=================================================================================
36 // class    : StdMeshersGUI_CreateStdHypothesisDlg
37 // purpose  :
38 //=================================================================================
39 class StdMeshersGUI_CreateStdHypothesisDlg : public StdMeshersGUI_CreateHypothesisDlg
40
41   Q_OBJECT
42
43  public:
44     StdMeshersGUI_CreateStdHypothesisDlg (const QString& hypType,
45                                           QWidget* parent = 0,
46                                           const char* name = 0,
47                                           bool modal = FALSE,
48                                           WFlags fl = 0);
49     ~StdMeshersGUI_CreateStdHypothesisDlg ();
50
51  private:
52   virtual void GetParameters(const QString &                     hypType,
53                              std::list<SMESHGUI_aParameterPtr> & params);
54   
55   virtual bool SetParameters(SMESH::SMESH_Hypothesis_ptr               theHyp,
56                              const std::list<SMESHGUI_aParameterPtr> & params);
57 };
58
59 #endif