vtkQtChartMouseSelectionHandler Class Reference

#include <vtkQtChartMouseSelectionHandler.h>

Inheritance diagram for vtkQtChartMouseSelectionHandler:

Inheritance graph
[legend]

List of all members.


Detailed Description

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

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.

Constructor & Destructor Documentation

vtkQtChartMouseSelectionHandler::vtkQtChartMouseSelectionHandler ( QObject *  parent = 0  ) 

Creates a mouse selection handler.

Parameters:
parent The 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:
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.

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:
mode The 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:
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.

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

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

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:

Generated on Mon Sep 27 18:44:28 2010 for VTK by  doxygen 1.5.6