1 #ifndef PLOTMAGNIFIER_H 2 #define PLOTMAGNIFIER_H 22 virtual void rescale(
double factor )
override 49 #endif // PLOTMAGNIFIER_H
virtual void rescale(double factor) override
QwtPlotMagnifier provides zooming, by magnifying in steps.
QPointF invTransform(QPoint pos)
virtual void widgetMousePressEvent(QMouseEvent *event) override
double _upper_bounds[QwtPlot::axisCnt]
double _lower_bounds[QwtPlot::axisCnt]
virtual void widgetWheelEvent(QWheelEvent *event) override
virtual ~PlotMagnifier() override
void setDefaultMode(AxisMode mode)
void rescaled(QRectF new_size)
QWidget * canvas()
Return observed plot canvas.
void setAxisLimits(int axis, double lower, double upper)
PlotMagnifier(QWidget *canvas)