16#ifndef QGSMODELVIEWMOUSEEVENT_H
17#define QGSMODELVIEWMOUSEEVENT_H
25class QgsModelGraphicsView;
57 QPointF modelPoint()
const;
76 QgsModelGraphicsView *mView =
nullptr;
79 bool mSnapped =
false;
80 QPointF mSnappedPoint;
A QgsModelViewMouseEvent is the result of a user interaction with the mouse on a QgsModelGraphicsView...
bool isSnapped() const
Returns true if point was snapped, e.g.
QPointF snappedPoint() const
Returns the snapped event point location in model coordinates.