QwtPolarMagnifier Class Reference
QwtPolarMagnifier provides zooming, by magnifying in steps.
More...
#include <qwt_polar_magnifier.h>
List of all members.
Detailed Description
QwtPolarMagnifier 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 QwtPolarPanner it is possible to implement an individual navigation of the plot canvas.
- See also:
- QwtPolarPanner, QwtPolarPlot, QwtPolarCanvas
Constructor & Destructor Documentation
QwtPolarMagnifier::QwtPolarMagnifier |
( |
QwtPolarCanvas * |
canvas |
) |
[explicit] |
Constructor
- Parameters:
-
| canvas | Plot canvas to be magnified |
QwtPolarMagnifier::~QwtPolarMagnifier |
( |
|
) |
[virtual] |
Member Function Documentation
- Returns:
- observed plot canvas
Return observed plot canvas.
void QwtPolarMagnifier::getUnzoomKey |
( |
int & |
key, |
|
|
int & |
modifiers | |
|
) |
| | const |
void QwtPolarMagnifier::rescale |
( |
double |
factor |
) |
[protected, virtual] |
Zoom in/out the zoomed area
- Parameters:
-
| factor | A value < 1.0 zooms in, a value > 1.0 zooms out. |
void QwtPolarMagnifier::setUnzoomKey |
( |
int |
key, |
|
|
int |
modifiers | |
|
) |
| | |
Assign key and modifiers, that are used for unzooming The default combination is Qt::Key_Home + Qt::NoModifier.
- Parameters:
-
| key | Key code |
| modifiers | Modifiers |
- See also:
- getUnzoomKey(), QwtPolarPlot::unzoom()
void QwtPolarMagnifier::unzoom |
( |
|
) |
[protected] |
void QwtPolarMagnifier::widgetKeyPressEvent |
( |
QKeyEvent * |
ke |
) |
[protected, virtual] |
Handle a key press event for the observed widget.
- Parameters:
-