VTK
Public Member Functions | List of all members
vtkQtChartMouseZoomBox Class Reference

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

#include <vtkQtChartMouseZoom.h>

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

Public Member Functions

 vtkQtChartMouseZoomBox (QObject *parent=0)
 Creates a new mouse zoom box object. More...
 
virtual ~vtkQtChartMouseZoomBox ()
 
vtkQtChartMouseFunction Methods
virtual void setMouseOwner (bool owns)
 Sets whether or not the function owns the mouse. More...
 
virtual bool mousePressEvent (QMouseEvent *e, vtkQtChartArea *chart)
 Called to handle the mouse press event. More...
 
virtual bool mouseMoveEvent (QMouseEvent *e, vtkQtChartArea *chart)
 Called to handle the mouse move event. More...
 
virtual bool mouseReleaseEvent (QMouseEvent *e, vtkQtChartArea *chart)
 Called to handle the mouse release event. More...
 
virtual bool mouseDoubleClickEvent (QMouseEvent *e, vtkQtChartArea *chart)
 Called to handle the double click event. More...
 
- Public Member Functions inherited from vtkQtChartMouseFunction
 vtkQtChartMouseFunction (QObject *parent=0)
 Creates a chart mouse function instance. More...
 
virtual ~vtkQtChartMouseFunction ()
 
virtual bool isCombinable () const
 Gets whether or not the function is combinable. More...
 
bool isMouseOwner () const
 Gets whether or not the function owns the mouse. More...
 
virtual bool wheelEvent (QWheelEvent *e, vtkQtChartArea *chart)
 Called to handle the wheel event. More...
 

Additional Inherited Members

- Signals inherited from vtkQtChartMouseFunction
void interactionStarted (vtkQtChartMouseFunction *function)
 Emitted when a function interaction has started. More...
 
void interactionFinished (vtkQtChartMouseFunction *function)
 Emitted when a function has finished an interaction state. More...
 
void cursorChangeRequested (const QCursor &cursor)
 Emitted when the mouse cursor needs to be changed. More...
 

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

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


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