16#ifndef QGSMODELVIEWMOUSEEVENT_H
17#define QGSMODELVIEWMOUSEEVENT_H
25class QgsModelGraphicsView;
55 QPointF modelPoint()
const;
73 QgsModelGraphicsView *mView =
nullptr;
76 bool mSnapped =
false;
77 QPointF mSnappedPoint;
A mouse event which is the result of a user interaction with 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.