17#ifndef QGSPLOTMOUSEEVENT_H
18#define QGSPLOTMOUSEEVENT_H
44 sipType = sipType_QgsPlotMouseEvent;
69 QgsPlotMouseEvent(
QgsPlotCanvas *canvas, QEvent::Type type, QPoint pos, Qt::MouseButton button = Qt::NoButton, Qt::MouseButtons buttons = Qt::NoButton, Qt::KeyboardModifiers modifiers = Qt::NoModifier );
97 bool mHasCachedSnapResult =
false;
99 bool mIsSnapped =
false;
Plot canvas is a class for displaying interactive 2d charts and plots.
QgsPointXY snappedPoint()
Returns the point snapped to the plot, if possible.
QgsPoint mapPoint() const
Returns the point in map coordinates corresponding to the event.
bool isSnapped()
Returns true if the point can be snapped to the plot.
QgsPlotMouseEvent(QgsPlotCanvas *canvas, QMouseEvent *event)
Creates a new QgsPlotMouseEvent.
Point geometry type, with support for z-dimension and m-values.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)