The vtkQtChartMouseZoom class zooms the contents in response to mouse events.
More...
#include <vtkQtChartMouseZoom.h>
The vtkQtChartMouseZoom class zooms the contents in response to mouse events.
Definition at line 41 of file vtkQtChartMouseZoom.h.
Enumerator |
---|
ZoomBoth |
Zoom in both directions.
|
ZoomXOnly |
Zoom only in the x-direction.
|
ZoomYOnly |
Zoom only in the y-direction.
|
Definition at line 44 of file vtkQtChartMouseZoom.h.
vtkQtChartMouseZoom::vtkQtChartMouseZoom |
( |
QObject * |
parent = 0 ) | |
|
Creates a new mouse zoom object.
- Parameters
-
virtual vtkQtChartMouseZoom::~vtkQtChartMouseZoom |
( |
) | |
|
|
virtual |
virtual void vtkQtChartMouseZoom::setMouseOwner |
( |
bool |
owns) | |
|
|
virtual |
Sets whether or not the function owns the mouse.
- Parameters
-
owns | True if the function owns the mouse. |
- See Also
Reimplemented from vtkQtChartMouseFunction.
virtual bool vtkQtChartMouseZoom::mousePressEvent |
( |
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
virtual |
Called to handle the mouse press event.
- Parameters
-
e | Event specific information. |
chart | The chart area. |
- Returns
- True if the event was used.
Implements vtkQtChartMouseFunction.
virtual bool vtkQtChartMouseZoom::mouseMoveEvent |
( |
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
virtual |
Called to handle the mouse move event.
- Parameters
-
e | Event specific information. |
chart | The chart area. |
- Returns
- True if the event was used.
Implements vtkQtChartMouseFunction.
virtual bool vtkQtChartMouseZoom::mouseReleaseEvent |
( |
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
virtual |
Called to handle the mouse release event.
- Parameters
-
e | Event specific information. |
chart | The chart area. |
- Returns
- True if the event was used.
Implements vtkQtChartMouseFunction.
virtual bool vtkQtChartMouseZoom::mouseDoubleClickEvent |
( |
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
virtual |
Called to handle the double click event.
- Parameters
-
e | Event specific information. |
chart | The chart area. |
- Returns
- True if the event was used.
Implements vtkQtChartMouseFunction.
virtual bool vtkQtChartMouseZoom::wheelEvent |
( |
QWheelEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
virtual |
Called to handle the wheel event.
- Parameters
-
e | Event specific information. |
chart | The chart area. |
- Returns
- True if the event was used.
Reimplemented from vtkQtChartMouseFunction.
ZoomFlags vtkQtChartMouseZoom::getFlags |
( |
) | |
const |
|
inline |
Gets the zoom flags used during interaction.
- Returns
- The zoom flags used during interaction.
Definition at line 73 of file vtkQtChartMouseZoom.h.
void vtkQtChartMouseZoom::setFlags |
( |
ZoomFlags |
flags) | |
|
|
inlineprotected |
Sets the zoom flags to use during interaction.
- Parameters
-
flags | The zoom flags to use. |
Definition at line 79 of file vtkQtChartMouseZoom.h.
The documentation for this class was generated from the following file: