Salome HOME
bug #63: join of sections
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Widget.h
index 9243452dbac2606c9df53fea95263ec7070525ef..a5e8ba136c99997d3c1f7835080697523112aeb7 100644 (file)
@@ -56,7 +56,8 @@ public:
   enum ActionFlags {
     NoFlags              = 0x00000000,
     DisableDetectionMode = 0x00000001,
-    DisableNewSection    = 0x00000002
+    DisableNewSection    = 0x00000002,
+    DisableClosedSection = 0x00000004
   };
 
 public:
@@ -84,7 +85,7 @@ public:
 
 signals:
   void selectionChanged();
-  void subOperationStarted( QWidget* );
+  void subOperationStarted( QWidget*, bool );
   void subOperationFinished( QWidget* );
 
 public slots:
@@ -215,6 +216,7 @@ private:
   QPoint                      myDragStartPosition;
   int                         myDragInteractionStyle;
   CurveCreator_ICurve::SectionToPointList myDragPoints;
+  CurveCreator_ICurve::SectionToPointCoordsList myInitialDragPointsCoords;
   bool                        myDragged;
   QByteArray                  myGuiState;
 };