Salome HOME
Improve documentation generation.
[plugins/hexoticplugin.git] / src / GUI / HexoticPluginGUI_Dlg.h
1 // Copyright (C) 2007-2019  CEA/DEN, EDF R&D
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, or (at your option) any later version.
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
20 // File   : DlgRef.h
21 // Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
22
23 #ifndef HEXOTICPLUGINGUI_H
24 #define HEXOTICPLUGINGUI_H
25
26 class QPixmap;
27
28 enum {
29   SD_MODE_1,
30   SD_MODE_2,
31   SD_MODE_3,
32   SD_MODE_4
33 };
34
35 //////////////////////////////////////////
36 // HexoticPluginGUI_StdWidget
37 //////////////////////////////////////////
38
39 #include "ui_HexoticPluginGUI_StdWidget_QTD.h"
40 #include "ui_HexoticPluginGUI_SizeMapsWidget_QTD.h"
41 #include "ui_HexoticPluginGUI_ViscousLayersWidget_QTD.h"
42 #include "HexoticPluginGUI.h"
43
44 #include <StdMeshersGUI_SubShapeSelectorWdg.h>
45
46 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_StdWidget : public QWidget,
47                                             public Ui::HexoticPluginGUI_StdWidget_QTD
48 {
49   Q_OBJECT
50
51 public:
52   HexoticPluginGUI_StdWidget( QWidget* = 0, Qt::WindowFlags = 0 );
53   ~HexoticPluginGUI_StdWidget();
54
55 public slots:
56   void onDirBtnClicked();
57   void onSdModeSelected(int sdMode);
58
59 public:
60   QPixmap imageSdMode;
61 };
62
63 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_SizeMapsWidget : public QWidget,
64                                             public Ui::HexoticPluginGUI_SizeMapsWidget_QTD
65 {
66   Q_OBJECT
67
68 public:
69   HexoticPluginGUI_SizeMapsWidget( QWidget* = 0, Qt::WindowFlags = 0 );
70   ~HexoticPluginGUI_SizeMapsWidget();
71 };
72
73 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_ViscousLayersWidget : public QWidget,
74                                             public Ui::HexoticPluginGUI_ViscousLayersWidget_QTD
75 {
76   Q_OBJECT
77
78 public:
79   HexoticPluginGUI_ViscousLayersWidget( QWidget* = 0, Qt::WindowFlags = 0 );
80   ~HexoticPluginGUI_ViscousLayersWidget();
81
82 public slots:
83   void onSelectionChanged();
84
85 public:
86   StdMeshersGUI_SubShapeSelectorWdg* myFacesWithLayers;
87   StdMeshersGUI_SubShapeSelectorWdg* myImprintedFaces;
88 };
89
90 #endif