VTK
Public Types | Public Member Functions | Protected Member Functions | List of all members
vtkQtChartKeyboardZoom Class Reference

The vtkQtChartKeyboardZoom class zooms the chart contents. More...

#include <vtkQtChartKeyboardZoom.h>

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

Public Types

enum  ZoomFlags { ZoomBoth, ZoomXOnly, ZoomYOnly }
 
enum  ZoomMethod { ZoomIn, ZoomOut }
 

Public Member Functions

 vtkQtChartKeyboardZoom (QObject *parent=0)
 Creates a chart keyboard zoom instance.
 
virtual ~vtkQtChartKeyboardZoom ()
 
virtual void activate ()
 Zooms the chart contents according to the method and flags.
 
- Public Member Functions inherited from vtkQtChartKeyboardFunction
 vtkQtChartKeyboardFunction (QObject *parent=0)
 Creates a chart keyboard function instance.
 
virtual ~vtkQtChartKeyboardFunction ()
 
vtkQtChartAreagetChartArea () const
 Gets the chart area for the keyboard function.
 
void setChartArea (vtkQtChartArea *chart)
 Sets the chart area for the keyboard function.
 

Protected Member Functions

void setZoomFlags (ZoomFlags flags)
 Sets the zoom flags to use when activated.
 
void setZoomMethod (ZoomMethod method)
 Sets the zoom method to use when activated.
 

Additional Inherited Members

- Public Slots inherited from vtkQtChartKeyboardFunction
- Protected Attributes inherited from vtkQtChartKeyboardFunction
vtkQtChartAreaChart
 Stores the chart area.
 

Detailed Description

The vtkQtChartKeyboardZoom class zooms the chart contents.

Definition at line 35 of file vtkQtChartKeyboardZoom.h.

Member Enumeration Documentation

Enumerator:
ZoomBoth 

Zoom in both directions.

ZoomXOnly 

Zoom only in the x-direction.

ZoomYOnly 

Zoom only in the y-direction.

Definition at line 39 of file vtkQtChartKeyboardZoom.h.

Enumerator:
ZoomIn 

Zoom in.

ZoomOut 

Zoom out.

Definition at line 46 of file vtkQtChartKeyboardZoom.h.

Constructor & Destructor Documentation

vtkQtChartKeyboardZoom::vtkQtChartKeyboardZoom ( QObject *  parent = 0)

Creates a chart keyboard zoom instance.

Parameters
parentThe parent object.
virtual vtkQtChartKeyboardZoom::~vtkQtChartKeyboardZoom ( )
inlinevirtual

Definition at line 57 of file vtkQtChartKeyboardZoom.h.

Member Function Documentation

virtual void vtkQtChartKeyboardZoom::activate ( )
virtual

Zooms the chart contents according to the method and flags.

The default is to zoom in on the chart in both directions.

Reimplemented from vtkQtChartKeyboardFunction.

void vtkQtChartKeyboardZoom::setZoomFlags ( ZoomFlags  flags)
inlineprotected

Sets the zoom flags to use when activated.

Parameters
flagsThe zoom flags to use.

Definition at line 69 of file vtkQtChartKeyboardZoom.h.

void vtkQtChartKeyboardZoom::setZoomMethod ( ZoomMethod  method)
inlineprotected

Sets the zoom method to use when activated.

Parameters
methodThe zoom method to use.

Definition at line 74 of file vtkQtChartKeyboardZoom.h.


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