Salome HOME
Merge from V6_main (04/10/2012)
[plugins/hexoticplugin.git] / src / GUI / HexoticPluginGUI_Dlg.h
1 // Copyright (C) 2007-2012  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
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 "HexoticPluginGUI.h"
41
42 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_StdWidget : public QWidget,
43                                             public Ui::HexoticPluginGUI_StdWidget_QTD
44 {
45   Q_OBJECT
46
47 public:
48   HexoticPluginGUI_StdWidget( QWidget* = 0, Qt::WindowFlags = 0 );
49   ~HexoticPluginGUI_StdWidget();
50
51 public slots:
52   void onDirBtnClicked();
53   void onSdModeSelected(int sdMode);
54
55 public:
56   QPixmap imageSdMode;
57 };
58
59
60 #endif