18#ifndef QGSPLOTTOOLZOOM_H
19#define QGSPLOTTOOLZOOM_H
58 virtual QPointF constrainStartPoint( QPointF scenePoint )
const SIP_SKIP;
65 virtual QPointF constrainMovePoint( QPointF scenePoint )
const SIP_SKIP;
72 virtual QRectF constrainBounds(
const QRectF &sceneBounds )
const SIP_SKIP;
79 virtual void zoomOutClickOn( QPointF scenePoint )
SIP_SKIP;
86 virtual void zoomInClickOn( QPointF scenePoint )
SIP_SKIP;
89 bool mMarqueeZoom =
false;
100 std::unique_ptr<QgsPlotRectangularRubberBand> mRubberBand;
102 void startMarqueeZoom( QPointF scenePoint );
Plot canvas is a class for displaying interactive 2d charts and plots.
A QgsPlotMouseEvent is the result of a user interaction with the mouse on a QgsPlotCanvas.
QgsPlotRectangularRubberBand is rectangular rubber band for use within QgsPlotCanvas widgets.