The vtkQtChartMouseFunction class is the base class for all chart mouse functions.
More...
#include <vtkQtChartMouseFunction.h>
List of all members.
Detailed Description
The vtkQtChartMouseFunction class is the base class for all chart mouse functions.
Definition at line 42 of file vtkQtChartMouseFunction.h.
Constructor & Destructor Documentation
vtkQtChartMouseFunction::vtkQtChartMouseFunction |
( |
QObject * |
parent = 0 | ) |
|
Creates a chart mouse function instance.
- Parameters:
-
virtual vtkQtChartMouseFunction::~vtkQtChartMouseFunction |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
virtual bool vtkQtChartMouseFunction::isCombinable |
( |
| ) |
const |
|
inlinevirtual |
Gets whether or not the function is combinable.
If a function can be combined with other functions on the same mouse button mode, this method should return true. Functions are combined using keyboard modifiers. If a function uses the keyboard modifiers, it should return false.
- Returns:
- True if the other functions can be combined with this one.
Reimplemented in vtkQtChartMouseSelection.
Definition at line 63 of file vtkQtChartMouseFunction.h.
bool vtkQtChartMouseFunction::isMouseOwner |
( |
| ) |
const |
|
inline |
Gets whether or not the function owns the mouse.
- Returns:
- True if the function owns the mouse.
Definition at line 69 of file vtkQtChartMouseFunction.h.
virtual void vtkQtChartMouseFunction::setMouseOwner |
( |
bool |
owns | ) |
|
|
inlinevirtual |
virtual bool vtkQtChartMouseFunction::mousePressEvent |
( |
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
virtual bool vtkQtChartMouseFunction::mouseMoveEvent |
( |
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
virtual bool vtkQtChartMouseFunction::mouseReleaseEvent |
( |
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
virtual bool vtkQtChartMouseFunction::mouseDoubleClickEvent |
( |
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
virtual bool vtkQtChartMouseFunction::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 in vtkQtChartMouseZoom.
Emitted when a function interaction has started.
A mouse function should not assume it has ownership after emitting this signal. The interactor will call setMouseOwner
if no other function owns the mouse.
- Parameters:
-
function | The function requesting mouse ownership. |
Emitted when a function has finished an interaction state.
- Parameters:
-
function | The function releasing mouse control. |
void vtkQtChartMouseFunction::cursorChangeRequested |
( |
const QCursor & |
cursor | ) |
|
|
signal |
Emitted when the mouse cursor needs to be changed.
- Parameters:
-
cursor | The new cursor to use. |
The documentation for this class was generated from the following file: