Salome HOME
Merge from V6_3_BR 06/06/2011
[modules/smesh.git] / src / StdMeshersGUI / StdMeshersGUI_QuadrangleParamWdg.h
1 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 //  File   : StdMeshersGUI_QuadrangleParamWdg.h
20 //  Author : Open CASCADE S.A.S. (jfa)
21
22 #ifndef STDMESHERSGUI_QUADRANGLEPARAMWDG_H
23 #define STDMESHERSGUI_QUADRANGLEPARAMWDG_H
24
25 // SMESH includes
26 #include "SMESH_StdMeshersGUI.hxx"
27
28 // Qt includes
29 #include <QWidget>
30
31 class QButtonGroup;
32
33 class STDMESHERSGUI_EXPORT StdMeshersGUI_QuadrangleParamWdg : public QWidget
34 {
35   Q_OBJECT
36
37 public:
38   StdMeshersGUI_QuadrangleParamWdg (QWidget* parent = 0);
39   ~StdMeshersGUI_QuadrangleParamWdg();
40
41   void SetType (int theType);
42   int  GetType ();
43
44 private:
45   // Quadranle preference, Triangle preference, Reduced
46   QButtonGroup* myType;
47 };
48
49 #endif // STDMESHERSGUI_QUADRANGLEPARAMWDG_H