The vtkQtChartMouseZoomBox class zooms the contents to a rectangle.
More...
#include <vtkQtChartMouseZoom.h>
The vtkQtChartMouseZoomBox class zooms the contents to a rectangle.
Definition at line 130 of file vtkQtChartMouseZoom.h.
vtkQtChartMouseZoomBox::vtkQtChartMouseZoomBox |
( |
QObject * |
parent = 0 ) | |
|
Creates a new mouse zoom box object.
- Parameters
-
virtual vtkQtChartMouseZoomBox::~vtkQtChartMouseZoomBox |
( |
) | |
|
|
virtual |
virtual void vtkQtChartMouseZoomBox::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 vtkQtChartMouseZoomBox::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 vtkQtChartMouseZoomBox::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 vtkQtChartMouseZoomBox::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 vtkQtChartMouseZoomBox::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.
The documentation for this class was generated from the following file: