DetectionMode
};
- typedef QPair< int, int > SectionToPoint;
- typedef QList< SectionToPoint > SectionToPointList;
+ typedef std::pair< int, int > SectionToPoint;
+ typedef std::deque< SectionToPoint > SectionToPointList;
private:
QAction* createAction( ActionId theId, const QString& theName, const QPixmap& theImage,
void startCurveModification( SectionToPointList& thePoints,
const bool theFillPoints = true );
- void finishCurveModification( const SectionToPointList& thePoints );
+ void finishCurveModification( const SectionToPointList& thePoints = SectionToPointList() );
// curve algorithm
int findLocalPointIndex( int theSectionId, float theX, float theY );
int getSectionId( const int theRowId ) const;
int getPointId( const int theRowId ) const;
+ bool contains( const SectionToPointList& theList, const SectionToPoint& theValue ) const;
+
private:
QMap<ActionId, QAction*> myActionMap;
CurveCreator_ICurve* myCurve;