1 // Copyright (C) 2007-2022 CEA/DEN, EDF R&D
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.
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.
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
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 // Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
23 #ifndef HEXOTICPLUGINGUI_H
24 #define HEXOTICPLUGINGUI_H
38 OPTION_NAME_COLUMN = 0,
43 //////////////////////////////////////////
44 // HexoticPluginGUI_StdWidget
45 //////////////////////////////////////////
47 #include "ui_HexoticPluginGUI_StdWidget_QTD.h"
48 #include "ui_HexoticPluginGUI_AdvWidget_QTD.h"
49 #include "ui_HexoticPluginGUI_SizeMapsWidget_QTD.h"
50 #include "ui_HexoticPluginGUI_ViscousLayersWidget_QTD.h"
51 #include "HexoticPluginGUI.h"
53 #include <StdMeshersGUI_SubShapeSelectorWdg.h>
55 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_StdWidget : public QWidget,
56 public Ui::HexoticPluginGUI_StdWidget_QTD
61 HexoticPluginGUI_StdWidget( QWidget* = 0, Qt::WindowFlags = 0 );
62 ~HexoticPluginGUI_StdWidget();
65 void onSdModeSelected(int sdMode);
66 void onSizeTypeChange(int);
72 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_AdvWidget : public QWidget,
73 public Ui::HexoticPluginGUI_AdvWidget_QTD
78 HexoticPluginGUI_AdvWidget( QWidget* = 0, Qt::WindowFlags = 0 );
79 ~HexoticPluginGUI_AdvWidget();
81 void AddOption( const char* name_value_type, bool isCustom = false );
82 void GetOptionAndValue( QTreeWidgetItem * tblRow, QString& option, QString& value, bool& dflt );
86 void onDirBtnClicked();
87 void itemChanged(QTreeWidgetItem * tblRow, int column);
91 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_SizeMapsWidget : public QWidget,
92 public Ui::HexoticPluginGUI_SizeMapsWidget_QTD
97 HexoticPluginGUI_SizeMapsWidget( QWidget* = 0, Qt::WindowFlags = 0 );
98 ~HexoticPluginGUI_SizeMapsWidget();
101 class HEXOTICPLUGIN_GUI_EXPORT HexoticPluginGUI_ViscousLayersWidget : public QWidget,
102 public Ui::HexoticPluginGUI_ViscousLayersWidget_QTD
107 HexoticPluginGUI_ViscousLayersWidget( QWidget* = 0, Qt::WindowFlags = 0 );
108 ~HexoticPluginGUI_ViscousLayersWidget();
111 void onSelectionChanged();
114 StdMeshersGUI_SubShapeSelectorWdg* myFacesWithLayers;
115 StdMeshersGUI_SubShapeSelectorWdg* myImprintedFaces;