Salome HOME
A fix for a problem with repeated <section, index> in the table.
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Widget.h
index a5e8ba136c99997d3c1f7835080697523112aeb7..7ab17331db1cb62f909107616235a272e4078ee7 100644 (file)
@@ -78,7 +78,6 @@ public:
   void setCurve( CurveCreator_ICurve* theCurve );
 
   QList<int> getSelectedSections();
-  QList< QPair< int, int > > getSelectedPoints();
 
   void  removeSelected();
   bool  removeEnabled();
@@ -216,7 +215,7 @@ private:
   QPoint                      myDragStartPosition;
   int                         myDragInteractionStyle;
   CurveCreator_ICurve::SectionToPointList myDragPoints;
-  CurveCreator_ICurve::SectionToPointCoordsList myInitialDragPointsCoords;
+  QMap<CurveCreator_ICurve::SectionToPoint, CurveCreator::Coordinates> myInitialDragPointsCoords;
   bool                        myDragged;
   QByteArray                  myGuiState;
 };