The vtkQtChartMouseSelectionHandler class is the base class for all selection handlers.
More...
#include <vtkQtChartMouseSelectionHandler.h>
|
| vtkQtChartMouseSelectionHandler (QObject *parent=0) |
| Creates a mouse selection handler.
|
|
virtual | ~vtkQtChartMouseSelectionHandler () |
|
virtual int | getNumberOfModes () const =0 |
| Gets the number of mouse modes.
|
|
virtual void | getModeList (QStringList &list) const =0 |
| Gets the list of mouse mode names.
|
|
virtual bool | mousePressEvent (const QString &mode, QMouseEvent *e, vtkQtChartArea *chart)=0 |
| Handles the mouse press event.
|
|
virtual bool | isMouseMoveAvailable (const QString &mode) const =0 |
| Gets whether or not mouse move is available for the given mode.
|
|
virtual void | startMouseMove (const QString &mode, vtkQtChartArea *chart)=0 |
| Starts a mouse move for the given mode.
|
|
virtual void | mouseMoveEvent (const QString &mode, QMouseEvent *e, vtkQtChartArea *chart)=0 |
| Handles the mouse move event.
|
|
virtual void | finishMouseMove (const QString &mode, vtkQtChartArea *chart)=0 |
| Finishes a mouse move for the given mode.
|
|
virtual bool | mouseReleaseEvent (const QString &mode, QMouseEvent *e, vtkQtChartArea *chart)=0 |
| Handles the mouse release event.
|
|
virtual bool | mouseDoubleClickEvent (const QString &mode, QMouseEvent *e, vtkQtChartArea *chart)=0 |
| Handles the mouse double click event.
|
|
The vtkQtChartMouseSelectionHandler class is the base class for all selection handlers.
Definition at line 41 of file vtkQtChartMouseSelectionHandler.h.
vtkQtChartMouseSelectionHandler::vtkQtChartMouseSelectionHandler |
( |
QObject * |
parent = 0 | ) |
|
Creates a mouse selection handler.
- Parameters
-
virtual vtkQtChartMouseSelectionHandler::~vtkQtChartMouseSelectionHandler |
( |
| ) |
|
|
inlinevirtual |
virtual int vtkQtChartMouseSelectionHandler::getNumberOfModes |
( |
| ) |
const |
|
pure virtual |
virtual void vtkQtChartMouseSelectionHandler::getModeList |
( |
QStringList & |
list | ) |
const |
|
pure virtual |
virtual bool vtkQtChartMouseSelectionHandler::mousePressEvent |
( |
const QString & |
mode, |
|
|
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
Handles the mouse press event.
- Parameters
-
mode | The current mouse mode. |
e | The mouse event. |
chart | The chart area. |
- Returns
- True if the event was handled.
Implemented in vtkQtChartSeriesSelectionHandler.
virtual bool vtkQtChartMouseSelectionHandler::isMouseMoveAvailable |
( |
const QString & |
mode | ) |
const |
|
pure virtual |
Gets whether or not mouse move is available for the given mode.
- Parameters
-
- Returns
- True if mouse move is available for the given mode.
Implemented in vtkQtChartSeriesSelectionHandler.
virtual void vtkQtChartMouseSelectionHandler::startMouseMove |
( |
const QString & |
mode, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
virtual void vtkQtChartMouseSelectionHandler::mouseMoveEvent |
( |
const QString & |
mode, |
|
|
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
virtual void vtkQtChartMouseSelectionHandler::finishMouseMove |
( |
const QString & |
mode, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
virtual bool vtkQtChartMouseSelectionHandler::mouseReleaseEvent |
( |
const QString & |
mode, |
|
|
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
Handles the mouse release event.
- Parameters
-
mode | The current mouse mode. |
e | The mouse event. |
chart | The chart area. |
- Returns
- True if the event was handled.
Implemented in vtkQtChartSeriesSelectionHandler.
virtual bool vtkQtChartMouseSelectionHandler::mouseDoubleClickEvent |
( |
const QString & |
mode, |
|
|
QMouseEvent * |
e, |
|
|
vtkQtChartArea * |
chart |
|
) |
| |
|
pure virtual |
Handles the mouse double click event.
- Parameters
-
mode | The current mouse mode. |
e | The mouse event. |
chart | The chart area. |
- Returns
- True if the event was handled.
Implemented in vtkQtChartSeriesSelectionHandler.
The documentation for this class was generated from the following file: