QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSPLOTTOOLZOOM_H
19 #define QGSPLOTTOOLZOOM_H
61 virtual QPointF constrainStartPoint( QPointF scenePoint )
const SIP_SKIP;
68 virtual QPointF constrainMovePoint( QPointF scenePoint )
const SIP_SKIP;
75 virtual QRectF constrainBounds(
const QRectF &sceneBounds )
const SIP_SKIP;
82 virtual void zoomOutClickOn( QPointF scenePoint )
SIP_SKIP;
89 virtual void zoomInClickOn( QPointF scenePoint )
SIP_SKIP;
92 bool mMarqueeZoom =
false;
97 QPoint mMousePressStartPos;
99 QPointF mRubberBandStartPos;
102 std::unique_ptr< QgsPlotRectangularRubberBand > mRubberBand;
104 void startMarqueeZoom( QPointF scenePoint );
108 #endif // QGSPLOTTOOLZOOM_H
QgsPlotRectangularRubberBand is rectangular rubber band for use within QgsPlotCanvas widgets.
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.