VTK
Public Member Functions
vtkQtChartMouseSelectionHandler Class Reference

The vtkQtChartMouseSelectionHandler class is the base class for all selection handlers. More...

#include <vtkQtChartMouseSelectionHandler.h>

Inheritance diagram for vtkQtChartMouseSelectionHandler:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

The vtkQtChartMouseSelectionHandler class is the base class for all selection handlers.

Definition at line 41 of file vtkQtChartMouseSelectionHandler.h.


Constructor & Destructor Documentation

vtkQtChartMouseSelectionHandler::vtkQtChartMouseSelectionHandler ( QObject *  parent = 0)

Creates a mouse selection handler.

Parameters:
parentThe parent object.
virtual vtkQtChartMouseSelectionHandler::~vtkQtChartMouseSelectionHandler ( ) [inline, virtual]

Definition at line 48 of file vtkQtChartMouseSelectionHandler.h.


Member Function Documentation

virtual int vtkQtChartMouseSelectionHandler::getNumberOfModes ( ) const [pure virtual]

Gets the number of mouse modes.

Returns:
The number of mouse modes.

Implemented in vtkQtChartSeriesSelectionHandler.

virtual void vtkQtChartMouseSelectionHandler::getModeList ( QStringList &  list) const [pure virtual]

Gets the list of mouse mode names.

Parameters:
listUsed 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.

Parameters:
modeThe current mouse mode.
eThe mouse event.
chartThe 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:
modeThe mouse mode name.
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]

Starts a mouse move for the given mode.

Parameters:
modeThe mouse mode to start.
chartThe chart area.

Implemented in vtkQtChartSeriesSelectionHandler.

virtual void vtkQtChartMouseSelectionHandler::mouseMoveEvent ( const QString &  mode,
QMouseEvent *  e,
vtkQtChartArea chart 
) [pure virtual]

Handles the mouse move event.

Parameters:
modeThe current mouse mode.
eThe mouse event.
chartThe chart area.

Implemented in vtkQtChartSeriesSelectionHandler.

virtual void vtkQtChartMouseSelectionHandler::finishMouseMove ( const QString &  mode,
vtkQtChartArea chart 
) [pure virtual]

Finishes a mouse move for the given mode.

Parameters:
modeThe mouse mode to finish.
chartThe chart area.

Implemented in vtkQtChartSeriesSelectionHandler.

virtual bool vtkQtChartMouseSelectionHandler::mouseReleaseEvent ( const QString &  mode,
QMouseEvent *  e,
vtkQtChartArea chart 
) [pure virtual]

Handles the mouse release event.

Parameters:
modeThe current mouse mode.
eThe mouse event.
chartThe 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:
modeThe current mouse mode.
eThe mouse event.
chartThe chart area.
Returns:
True if the event was handled.

Implemented in vtkQtChartSeriesSelectionHandler.


The documentation for this class was generated from the following file: