Qwt Polar User's Guide
0.1.0
|
#include <qwt_polar_panner.h>
Public Member Functions | |
QwtPolarPanner (QwtPolarCanvas *) | |
virtual | ~QwtPolarPanner () |
QwtPolarPlot * | plot () |
const QwtPolarPlot * | plot () const |
QwtPolarCanvas * | canvas () |
const QwtPolarCanvas * | canvas () const |
Protected Slots | |
virtual void | movePlot (int dx, int dy) |
Protected Member Functions | |
virtual void | widgetMousePressEvent (QMouseEvent *) |
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.
QwtPolarPanner::QwtPolarPanner | ( | QwtPolarCanvas * | canvas | ) | [explicit] |
Create a plot panner for a polar plot canvas.
QwtPolarPanner::~QwtPolarPanner | ( | ) | [virtual] |
Destructor.
Return observed plot canvas.
const QwtPolarCanvas * QwtPolarPanner::canvas | ( | ) | const |
Return observed plot canvas.
void QwtPolarPanner::movePlot | ( | int | dx, |
int | dy | ||
) | [protected, virtual, slot] |
Adjust the zoomed area according to dx/dy
dx | Pixel offset in x direction |
dy | Pixel offset in y direction |
Return observed plot.
const QwtPolarPlot * QwtPolarPanner::plot | ( | ) | const |
Return observed plot.
void QwtPolarPanner::widgetMousePressEvent | ( | QMouseEvent * | me | ) | [protected, virtual] |
Block panning when the plot zoom factor is >= 1.0.
me | Mouse event |