1
#ifndef MERKATOR_INTERACTION_CREATESINGLEWAYINTERACTION_H
2
#define MERKATOR_INTERACTION_CREATESINGLEWAYINTERACTION_H
4
#include "Interaction/Interaction.h"
12
class CreateSingleWayInteraction : public GenericFeatureSnapInteraction<MapFeature>
17
CreateSingleWayInteraction(MainWindow* Main, MapView* aView, TrackPoint * firstNode, bool aCurved);
18
~CreateSingleWayInteraction();
20
virtual void snapMousePressEvent(QMouseEvent * event, MapFeature* aLast);
21
virtual void snapMouseReleaseEvent(QMouseEvent * event, MapFeature* aLast);
22
virtual void snapMouseMoveEvent(QMouseEvent* event, MapFeature* aLast);
23
virtual void paintEvent(QPaintEvent* anEvent, QPainter& thePainter);
24
virtual QCursor cursor() const;
31
TrackPoint* FirstNode;
38
#endif // INTERACTION\CREATEDOUBLEWAYINTERACTION_H