void setCurve( CurveCreator_ICurve* theCurve );
QList<int> getSelectedSections();
- QList< QPair< int, int > > getSelectedPoints();
void removeSelected();
bool removeEnabled();
QPoint myDragStartPosition;
int myDragInteractionStyle;
CurveCreator_ICurve::SectionToPointList myDragPoints;
- CurveCreator_ICurve::SectionToPointCoordsList myInitialDragPointsCoords;
+ QMap<CurveCreator_ICurve::SectionToPoint, CurveCreator::Coordinates> myInitialDragPointsCoords;
bool myDragged;
QByteArray myGuiState;
+ int myPressedX;
+ int myPressedY;
};
#endif // CURVECREATOR_WIDGET_H