Salome HOME
Copyright update 2022
[modules/hexablock.git] / src / HEXABLOCKGUI / MyBasicGUI_PointDlg.hxx
old mode 100755 (executable)
new mode 100644 (file)
index d1fd1f5..82ef844
@@ -1,9 +1,9 @@
-// Copyright (C) 2009-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2022  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
 #ifndef MYBASICGUI_POINTDLG_H
 #define MYBASICGUI_POINTDLG_H
 
-
-
+#include "HEXABLOCKGUI_Export.hxx"
 
 #include "MyGEOMBase_Skeleton.hxx"
 #include <QMap>
 
-class DlgRef_2Sel1Spin;
-class DlgRef_3Spin;
-class DlgRef_2Sel;
-class DlgRef_1Sel3Spin;
-class DlgRef_1Sel2Spin;
+class MyDlgRef_2Sel1Spin;
+class MyDlgRef_3Spin;
+class MyDlgRef_2Sel;
+class MyDlgRef_1Sel3Spin;
+class MyDlgRef_1Sel2Spin;
 
 class QLineEdit;
 class QGroupBox;
@@ -63,7 +62,7 @@ namespace HEXABLOCK
 // class    : MyBasicGUI_PointDlg
 // purpose  :
 //=================================================================================
-typedef class MyBasicGUI_PointDlg : public MyGEOMBase_Skeleton
+typedef class HEXABLOCK_EXPORT MyBasicGUI_PointDlg : public MyGEOMBase_Skeleton
 {
   Q_OBJECT
 
@@ -79,15 +78,13 @@ private:
   double                             getUParameter() const;
   double                             getVParameter() const;
   void                               updateParamCoord(bool theIsUpdate);
-
-private:
   bool                               myBusy;
 
-  DlgRef_3Spin*                      GroupXYZ;
-  DlgRef_1Sel3Spin*                  GroupRefPoint;
-  DlgRef_2Sel1Spin*                  GroupOnCurve;
-  DlgRef_2Sel*                       GroupLineIntersection;
-  DlgRef_1Sel2Spin*                  GroupOnSurface;
+  MyDlgRef_3Spin*                      GroupXYZ;
+  MyDlgRef_1Sel3Spin*                  GroupRefPoint;
+  MyDlgRef_2Sel1Spin*                  GroupOnCurve;
+  MyDlgRef_2Sel*                       GroupLineIntersection;
+  MyDlgRef_1Sel2Spin*                  GroupOnSurface;
 
   QGroupBox*                         myCoordGrp;
   QLineEdit*                         myX;
@@ -112,8 +109,8 @@ private slots:
   void                               ClickParamCoord( int );
   void                               onBtnPopup( QAction* );
   void                               updateSize();
-//void                               onRefPointChanged(const QString& pointName);
-//void                               onStartPointSelected(const QString& pointName);
+ // void                               onRefPointChanged(const QString& pointName);
+ // void                               onStartPointSelected(const QString& pointName);
   void                               onParamValueChanged(double newValue);
   void                               onXCoordChanged(double newValue);
   void                               onYCoordChanged(double newValue);