vtkQtChartMousePan Class Reference

#include <vtkQtChartMousePan.h>

Inheritance diagram for vtkQtChartMousePan:

Inheritance graph
[legend]
Collaboration diagram for vtkQtChartMousePan:

Collaboration graph
[legend]

List of all members.


Detailed Description

The vtkQtChartMousePan class pans the contents in response to mouse events.

Definition at line 40 of file vtkQtChartMousePan.h.


Public Member Functions

 vtkQtChartMousePan (QObject *parent=0)
 Creates a mouse pan instance.
virtual ~vtkQtChartMousePan ()
vtkQtChartMouseFunction Methods
virtual void setMouseOwner (bool owns)
 Sets whether or not the function owns the mouse.
virtual bool mousePressEvent (QMouseEvent *e, vtkQtChartArea *chart)
 Called to handle the mouse press event.
virtual bool mouseMoveEvent (QMouseEvent *e, vtkQtChartArea *chart)
 Called to handle the mouse move event.
virtual bool mouseReleaseEvent (QMouseEvent *e, vtkQtChartArea *chart)
 Called to handle the mouse release event.
virtual bool mouseDoubleClickEvent (QMouseEvent *e, vtkQtChartArea *chart)
 Called to handle the double click event.

Constructor & Destructor Documentation

vtkQtChartMousePan::vtkQtChartMousePan ( QObject *  parent = 0  ) 

Creates a mouse pan instance.

Parameters:
parent Te parent object.

virtual vtkQtChartMousePan::~vtkQtChartMousePan (  )  [virtual]


Member Function Documentation

virtual void vtkQtChartMousePan::setMouseOwner ( bool  owns  )  [virtual]

Sets whether or not the function owns the mouse.

Parameters:
owns True if the function owns the mouse.
See also:

Reimplemented from vtkQtChartMouseFunction.

virtual bool vtkQtChartMousePan::mousePressEvent ( QMouseEvent *  e,
vtkQtChartArea chart 
) [virtual]

Called to handle the mouse press event.

Parameters:
e Event specific information.
chart The chart area.
Returns:
True if the event was used.

Implements vtkQtChartMouseFunction.

virtual bool vtkQtChartMousePan::mouseMoveEvent ( QMouseEvent *  e,
vtkQtChartArea chart 
) [virtual]

Called to handle the mouse move event.

Parameters:
e Event specific information.
chart The chart area.
Returns:
True if the event was used.

Implements vtkQtChartMouseFunction.

virtual bool vtkQtChartMousePan::mouseReleaseEvent ( QMouseEvent *  e,
vtkQtChartArea chart 
) [virtual]

Called to handle the mouse release event.

Parameters:
e Event specific information.
chart The chart area.
Returns:
True if the event was used.

Implements vtkQtChartMouseFunction.

virtual bool vtkQtChartMousePan::mouseDoubleClickEvent ( QMouseEvent *  e,
vtkQtChartArea chart 
) [virtual]

Called to handle the double click event.

Parameters:
e Event specific information.
chart The chart area.
Returns:
True if the event was used.

Implements vtkQtChartMouseFunction.


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

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