Qwt Polar User's Guide  0.1.0
Public Member Functions | Protected Slots | Protected Member Functions
QwtPolarPanner Class Reference

#include <qwt_polar_panner.h>

List of all members.

Public Member Functions

 QwtPolarPanner (QwtPolarCanvas *)
virtual ~QwtPolarPanner ()
QwtPolarPlotplot ()
const QwtPolarPlotplot () const
QwtPolarCanvascanvas ()
const QwtPolarCanvascanvas () const

Protected Slots

virtual void movePlot (int dx, int dy)

Protected Member Functions

virtual void widgetMousePressEvent (QMouseEvent *)

Detailed Description

QwtPolarPanner provides panning of a polar plot canvas.

QwtPolarPanner is a panner for a QwtPolarCanvas, that adjusts the visible area after dropping the canvas on its new position.

Together with QwtPolarMagnifier individual ways of navigating on a QwtPolarPlot widget can be implemented easily.

See also:
QwtPolarMagnifier

Constructor & Destructor Documentation

Create a plot panner for a polar plot canvas.

Destructor.


Member Function Documentation

Return observed plot canvas.

Return observed plot canvas.

void QwtPolarPanner::movePlot ( int  dx,
int  dy 
) [protected, virtual, slot]

Adjust the zoomed area according to dx/dy

Parameters:
dxPixel offset in x direction
dyPixel offset in y direction
See also:
QwtPanner::panned(), QwtPolarPlot::zoom()

Return observed plot.

Return observed plot.

void QwtPolarPanner::widgetMousePressEvent ( QMouseEvent *  me) [protected, virtual]

Block panning when the plot zoom factor is >= 1.0.

Parameters:
meMouse event