QwtMagnifier provides zooming, by magnifying in steps.
Más...
#include <qwt_magnifier.h>
Lista de todos los miembros.
Descripción detallada
QwtMagnifier provides zooming, by magnifying in steps.
Using QwtMagnifier a plot can be zoomed in/out in steps using keys, the mouse wheel or moving a mouse button in vertical direction.
Documentación del constructor y destructor
QwtMagnifier::QwtMagnifier |
( |
QWidget * |
parent | ) |
[explicit] |
QwtMagnifier::~QwtMagnifier |
( |
| ) |
[virtual] |
Documentación de las funciones miembro
void QwtMagnifier::getMouseButton |
( |
int & |
button, |
|
|
int & |
buttonState |
|
) |
| const |
void QwtMagnifier::getZoomInKey |
( |
int & |
key, |
|
|
int & |
modifiers |
|
) |
| const |
void QwtMagnifier::getZoomOutKey |
( |
int & |
key, |
|
|
int & |
modifiers |
|
) |
| const |
bool QwtMagnifier::isEnabled |
( |
| ) |
const |
double QwtMagnifier::keyFactor |
( |
| ) |
const |
double QwtMagnifier::mouseFactor |
( |
| ) |
const |
QWidget * QwtMagnifier::parentWidget |
( |
| ) |
|
const QWidget * QwtMagnifier::parentWidget |
( |
| ) |
const |
virtual void QwtMagnifier::rescale |
( |
double |
factor | ) |
[protected, pure virtual] |
void QwtMagnifier::setEnabled |
( |
bool |
on | ) |
|
En/disable the magnifier.
When enabled is true an event filter is installed for the observed widget, otherwise the event filter is removed.
- Parámetros:
-
- Ver también:
- isEnabled(), eventFilter()
void QwtMagnifier::setKeyFactor |
( |
double |
factor | ) |
|
void QwtMagnifier::setMouseButton |
( |
int |
button, |
|
|
int |
buttonState = Qt::NoButton |
|
) |
| |
Assign the mouse button, that is used for zooming in/out. The default value is Qt::RightButton.
- Parámetros:
-
button | Button |
buttonState | Button state |
- Ver también:
- getMouseButton
void QwtMagnifier::setMouseFactor |
( |
double |
factor | ) |
|
void QwtMagnifier::setWheelButtonState |
( |
int |
buttonState | ) |
|
Assign a mandatory button state for zooming in/out using the wheel. The default button state is Qt::NoButton.
- Parámetros:
-
- Ver también:
- wheelButtonState
void QwtMagnifier::setWheelFactor |
( |
double |
factor | ) |
|
void QwtMagnifier::setZoomInKey |
( |
int |
key, |
|
|
int |
modifiers |
|
) |
| |
void QwtMagnifier::setZoomOutKey |
( |
int |
key, |
|
|
int |
modifiers |
|
) |
| |
int QwtMagnifier::wheelButtonState |
( |
| ) |
const |
double QwtMagnifier::wheelFactor |
( |
| ) |
const |
void QwtMagnifier::widgetKeyPressEvent |
( |
QKeyEvent * |
ke | ) |
[protected, virtual] |
void QwtMagnifier::widgetKeyReleaseEvent |
( |
QKeyEvent * |
| ) |
[protected, virtual] |
void QwtMagnifier::widgetMouseMoveEvent |
( |
QMouseEvent * |
me | ) |
[protected, virtual] |
void QwtMagnifier::widgetMousePressEvent |
( |
QMouseEvent * |
me | ) |
[protected, virtual] |
void QwtMagnifier::widgetMouseReleaseEvent |
( |
QMouseEvent * |
| ) |
[protected, virtual] |
void QwtMagnifier::widgetWheelEvent |
( |
QWheelEvent * |
we | ) |
[protected, virtual] |
Handle a wheel event for the observed widget.
- Parámetros:
-
- Ver también:
- eventFilter()
La documentación para esta clase fue generada a partir de los siguientes ficheros: