Salome HOME
updated copyright message
[plugins/blsurfplugin.git] / src / GUI / BLSURFPluginGUI_Dlg.h
index 26307463ddd8b80d23fa463e66bc8471a52ca1fd..a596cedfe31e7b87b35f0d0d1c05ffa5abdcf0ce 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -37,6 +37,12 @@ enum GeometricMesh
     GeometricalLocalSize
   };
 
+enum ElementType {
+  Triangles,
+  QuadrangleDominant,
+  Quadrangles
+};
+
 enum Topology {
     FromCAD = 0,
     Process,
@@ -56,8 +62,9 @@ enum {
 // BLSURFPluginGUI_StdWidget
 //////////////////////////////////////////
 
-#include "ui_BLSURFPluginGUI_StdWidget_QTD.h"
+// WARNING: include order is important, do not swap !
 #include "BLSURFPluginGUI_HypothesisCreator.h"
+#include "ui_BLSURFPluginGUI_StdWidget_QTD.h"
 
 class BLSURFPLUGIN_GUI_EXPORT BLSURFPluginGUI_StdWidget : public QWidget, 
                                             public Ui::BLSURFPluginGUI_StdWidget_QTD
@@ -90,8 +97,14 @@ public:
   BLSURFPluginGUI_AdvWidget( QWidget* = 0, Qt::WindowFlags = 0 );
   ~BLSURFPluginGUI_AdvWidget();
 
+  void AddOption( int iTable, const char* name_value_type );
+  void GetOptionAndValue( QTreeWidgetItem * tblRow, QString& option, QString& value, bool& dflt );
+
 public slots:
+
   void onChooseGMFFile();
+  void itemChanged(QTreeWidgetItem * tblRow, int column);
+
 };
 
-#endif
\ No newline at end of file
+#endif