Public Member Functions

vtkQtChartMouseZoomBox Class Reference

The vtkQtChartMouseZoomBox class zooms the contents to a rectangle. More...

#include <vtkQtChartMouseZoom.h>

Inheritance diagram for vtkQtChartMouseZoomBox:
Inheritance graph
[legend]
Collaboration diagram for vtkQtChartMouseZoomBox:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkQtChartMouseZoomBox (QObject *parent=0)
 Creates a new mouse zoom box object.
virtual ~vtkQtChartMouseZoomBox ()
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.

Detailed Description

The vtkQtChartMouseZoomBox class zooms the contents to a rectangle.

Definition at line 130 of file vtkQtChartMouseZoom.h.


Constructor & Destructor Documentation

vtkQtChartMouseZoomBox::vtkQtChartMouseZoomBox ( QObject *  parent = 0 )

Creates a new mouse zoom box object.

Parameters:
parentThe parent object.
virtual vtkQtChartMouseZoomBox::~vtkQtChartMouseZoomBox (  ) [virtual]

Member Function Documentation

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

Called to handle the double click event.

Parameters:
eEvent specific information.
chartThe chart area.
Returns:
True if the event was used.

Implements vtkQtChartMouseFunction.

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

Called to handle the mouse move event.

Parameters:
eEvent specific information.
chartThe chart area.
Returns:
True if the event was used.

Implements vtkQtChartMouseFunction.

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

Called to handle the mouse press event.

Parameters:
eEvent specific information.
chartThe chart area.
Returns:
True if the event was used.

Implements vtkQtChartMouseFunction.

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

Called to handle the mouse release event.

Parameters:
eEvent specific information.
chartThe chart area.
Returns:
True if the event was used.

Implements vtkQtChartMouseFunction.

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

Sets whether or not the function owns the mouse.

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

Reimplemented from vtkQtChartMouseFunction.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines