#include <vtkQtChartMouseSelectionHandler.h>
Definition at line 41 of file vtkQtChartMouseSelectionHandler.h.
Public Member Functions | |
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. |
vtkQtChartMouseSelectionHandler::vtkQtChartMouseSelectionHandler | ( | QObject * | parent = 0 |
) |
Creates a mouse selection handler.
parent | The parent object. |
virtual vtkQtChartMouseSelectionHandler::~vtkQtChartMouseSelectionHandler | ( | ) | [inline, virtual] |
Definition at line 48 of file vtkQtChartMouseSelectionHandler.h.
virtual int vtkQtChartMouseSelectionHandler::getNumberOfModes | ( | ) | const [pure virtual] |
Gets the number of mouse modes.
Implemented in vtkQtChartSeriesSelectionHandler.
virtual void vtkQtChartMouseSelectionHandler::getModeList | ( | QStringList & | list | ) | const [pure virtual] |
Gets the list of mouse mode names.
list | Used to return the list of modes. |
Implemented in vtkQtChartSeriesSelectionHandler.
virtual bool vtkQtChartMouseSelectionHandler::mousePressEvent | ( | const QString & | mode, | |
QMouseEvent * | e, | |||
vtkQtChartArea * | chart | |||
) | [pure virtual] |
Handles the mouse press event.
mode | The current mouse mode. | |
e | The mouse event. | |
chart | The chart area. |
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.
mode | The mouse mode name. |
Implemented in vtkQtChartSeriesSelectionHandler.
virtual void vtkQtChartMouseSelectionHandler::startMouseMove | ( | const QString & | mode, | |
vtkQtChartArea * | chart | |||
) | [pure virtual] |
Starts a mouse move for the given mode.
mode | The mouse mode to start. | |
chart | The chart area. |
Implemented in vtkQtChartSeriesSelectionHandler.
virtual void vtkQtChartMouseSelectionHandler::mouseMoveEvent | ( | const QString & | mode, | |
QMouseEvent * | e, | |||
vtkQtChartArea * | chart | |||
) | [pure virtual] |
Handles the mouse move event.
mode | The current mouse mode. | |
e | The mouse event. | |
chart | The chart area. |
Implemented in vtkQtChartSeriesSelectionHandler.
virtual void vtkQtChartMouseSelectionHandler::finishMouseMove | ( | const QString & | mode, | |
vtkQtChartArea * | chart | |||
) | [pure virtual] |
Finishes a mouse move for the given mode.
mode | The mouse mode to finish. | |
chart | The chart area. |
Implemented in vtkQtChartSeriesSelectionHandler.
virtual bool vtkQtChartMouseSelectionHandler::mouseReleaseEvent | ( | const QString & | mode, | |
QMouseEvent * | e, | |||
vtkQtChartArea * | chart | |||
) | [pure virtual] |
Handles the mouse release event.
mode | The current mouse mode. | |
e | The mouse event. | |
chart | The chart area. |
Implemented in vtkQtChartSeriesSelectionHandler.
virtual bool vtkQtChartMouseSelectionHandler::mouseDoubleClickEvent | ( | const QString & | mode, | |
QMouseEvent * | e, | |||
vtkQtChartArea * | chart | |||
) | [pure virtual] |
Handles the mouse double click event.
mode | The current mouse mode. | |
e | The mouse event. | |
chart | The chart area. |
Implemented in vtkQtChartSeriesSelectionHandler.