1 // Copyright (C) 2007-2016 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 BLSURFPLUGINGUI_H
24 #define BLSURFPLUGINGUI_H
36 GeometricalGlobalSize,
61 //////////////////////////////////////////
62 // BLSURFPluginGUI_StdWidget
63 //////////////////////////////////////////
65 #include "ui_BLSURFPluginGUI_StdWidget_QTD.h"
66 #include "BLSURFPluginGUI_HypothesisCreator.h"
68 class BLSURFPLUGIN_GUI_EXPORT BLSURFPluginGUI_StdWidget : public QWidget,
69 public Ui::BLSURFPluginGUI_StdWidget_QTD
74 BLSURFPluginGUI_StdWidget( QWidget* = 0, Qt::WindowFlags = 0 );
75 ~BLSURFPluginGUI_StdWidget();
78 void onPhysicalMeshChanged();
79 void onGeometricMeshChanged();
80 void onEditingFinished();
84 //////////////////////////////////////////
85 // BLSURFPluginGUI_AdvWidget
86 //////////////////////////////////////////
88 #include "ui_BLSURFPluginGUI_AdvWidget_QTD.h"
90 class BLSURFPLUGIN_GUI_EXPORT BLSURFPluginGUI_AdvWidget : public QWidget,
91 public Ui::BLSURFPluginGUI_AdvWidget_QTD
96 BLSURFPluginGUI_AdvWidget( QWidget* = 0, Qt::WindowFlags = 0 );
97 ~BLSURFPluginGUI_AdvWidget();
99 void AddOption( int iTable, const char* name_value_type );
100 void GetOptionAndValue( QTreeWidgetItem * tblRow, QString& option, QString& value, bool& dflt );
104 void onChooseGMFFile();
105 void itemChanged(QTreeWidgetItem * tblRow, int column);