Salome HOME
ceddb3bcfe857fc368bc8e441a7baabd9200566a
[plugins/hexoticplugin.git] / src / GUI / HexoticPluginGUI_Dlg.h
1 // Copyright (C) 2007-2014  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 "HexoticPluginGUI.h"
42
43 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_StdWidget : public QWidget,
44                                             public Ui::HexoticPluginGUI_StdWidget_QTD
45 {
46   Q_OBJECT
47
48 public:
49   HexoticPluginGUI_StdWidget( QWidget* = 0, Qt::WindowFlags = 0 );
50   ~HexoticPluginGUI_StdWidget();
51
52 public slots:
53   void onDirBtnClicked();
54   void onSdModeSelected(int sdMode);
55
56 public:
57   QPixmap imageSdMode;
58 };
59
60 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_SizeMapsWidget : public QWidget,
61                                             public Ui::HexoticPluginGUI_SizeMapsWidget_QTD
62 {
63   Q_OBJECT
64
65 public:
66   HexoticPluginGUI_SizeMapsWidget( QWidget* = 0, Qt::WindowFlags = 0 );
67   ~HexoticPluginGUI_SizeMapsWidget();
68 };
69
70
71 #endif