| Qwt User's Guide
    6.0.2
    | 
#include <qwt_plot_magnifier.h>

| Public Member Functions | |
| QwtPlotMagnifier (QwtPlotCanvas *) | |
| virtual | ~QwtPlotMagnifier () | 
| QwtPlotCanvas * | canvas () | 
| const QwtPlotCanvas * | canvas () const | 
| bool | isAxisEnabled (int axis) const | 
| QwtPlot * | plot () | 
| const QwtPlot * | plot () const | 
| void | setAxisEnabled (int axis, bool on) | 
|  Public Member Functions inherited from QwtMagnifier | |
| QwtMagnifier (QWidget *) | |
| virtual | ~QwtMagnifier () | 
| virtual bool | eventFilter (QObject *, QEvent *) | 
| void | getMouseButton (int &button, int &buttonState) const | 
| void | getZoomInKey (int &key, int &modifiers) const | 
| void | getZoomOutKey (int &key, int &modifiers) const | 
| bool | isEnabled () const | 
| double | keyFactor () const | 
| double | mouseFactor () const | 
| QWidget * | parentWidget () | 
| const QWidget * | parentWidget () const | 
| void | setEnabled (bool) | 
| void | setKeyFactor (double) | 
| void | setMouseButton (int button, int buttonState=Qt::NoButton) | 
| void | setMouseFactor (double) | 
| void | setWheelButtonState (int buttonState) | 
| void | setWheelFactor (double) | 
| void | setZoomInKey (int key, int modifiers) | 
| void | setZoomOutKey (int key, int modifiers) | 
| int | wheelButtonState () const | 
| double | wheelFactor () const | 
| Protected Member Functions | |
| virtual void | rescale (double factor) | 
|  Protected Member Functions inherited from QwtMagnifier | |
| virtual void | widgetKeyPressEvent (QKeyEvent *) | 
| virtual void | widgetKeyReleaseEvent (QKeyEvent *) | 
| virtual void | widgetMouseMoveEvent (QMouseEvent *) | 
| virtual void | widgetMousePressEvent (QMouseEvent *) | 
| virtual void | widgetMouseReleaseEvent (QMouseEvent *) | 
| virtual void | widgetWheelEvent (QWheelEvent *) | 
QwtPlotMagnifier provides zooming, by magnifying in steps.
Using QwtPlotMagnifier a plot can be zoomed in/out in steps using keys, the mouse wheel or moving a mouse button in vertical direction.
Together with QwtPlotZoomer and QwtPlotPanner it is possible to implement individual and powerful navigation of the plot canvas.
| 
 | explicit | 
Constructor
| canvas | Plot canvas to be magnified | 
| bool QwtPlotMagnifier::isAxisEnabled | ( | int | axis | ) | const | 
Test if an axis is enabled
| axis | Axis, see QwtPlot::Axis | 
| 
 | protectedvirtual | 
Zoom in/out the axes scales
| factor | A value < 1.0 zooms in, a value > 1.0 zooms out. | 
Implements QwtMagnifier.
| void QwtPlotMagnifier::setAxisEnabled | ( | int | axis, | 
| bool | on | ||
| ) | 
En/Disable an axis.
Only Axes that are enabled will be zoomed. All other axes will remain unchanged.
| axis | Axis, see QwtPlot::Axis | 
| on | On/Off | 
 1.8.1
 1.8.1