trusty (3) QwtPlotMagnifier.3.gz

Provided by: libqwt-doc_6.0.0-1.2_all bug

NAME

       QwtPlotMagnifier -

       QwtPlotMagnifier provides zooming, by magnifying in steps.

SYNOPSIS

       #include <qwt_plot_magnifier.h>

       Inherits QwtMagnifier.

   Public Member Functions
       QwtPlotMagnifier (QwtPlotCanvas *)
       virtual ~QwtPlotMagnifier ()
       void setAxisEnabled (int axis, bool on)
       bool isAxisEnabled (int axis) const
       QwtPlotCanvas * canvas ()
       const QwtPlotCanvas * canvas () const
       QwtPlot * plot ()
       const QwtPlot * plot () const

   Protected Member Functions
       virtual void rescale (double factor)

Detailed Description

       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.

       See also:
           QwtPlotZoomer, QwtPlotPanner, QwtPlot

Constructor & Destructor Documentation

   QwtPlotMagnifier::QwtPlotMagnifier (QwtPlotCanvas *canvas) [explicit] Constructor
       Parameters:
           canvas Plot canvas to be magnified

   QwtPlotMagnifier::~QwtPlotMagnifier () [virtual]
       Destructor.

Member Function Documentation

   QwtPlotCanvas * QwtPlotMagnifier::canvas ()
       Return observed plot canvas.

   const QwtPlotCanvas * QwtPlotMagnifier::canvas () const
       Return Observed plot canvas.

   bool QwtPlotMagnifier::isAxisEnabled (intaxis) const Test if an axis is enabled
       Parameters:
           axis Axis, see QwtPlot::Axis

       Returns:
           True, if the axis is enabled

       See also:
           setAxisEnabled()

   QwtPlot * QwtPlotMagnifier::plot ()
       Return plot widget, containing the observed plot canvas.

   const QwtPlot * QwtPlotMagnifier::plot () const
       Return plot widget, containing the observed plot canvas.

   void QwtPlotMagnifier::rescale (doublefactor) [protected, virtual] Zoom in/out the axes scales
       Parameters:
           factor A value < 1.0 zooms in, a value > 1.0 zooms out.

       Implements QwtMagnifier.

   void QwtPlotMagnifier::setAxisEnabled (intaxis, boolon)
       En/Disable an axis. Only Axes that are enabled will be zoomed. All other axes will remain unchanged.

       Parameters:
           axis Axis, see QwtPlot::Axis
           on On/Off

       See also:
           isAxisEnabled()

Author

       Generated automatically by Doxygen for Qwt User's Guide from the source code.