VTK
Public Slots | Public Member Functions | Protected Attributes
vtkQtChartKeyboardFunction Class Reference

The vtkQtChartKeyboardFunction class is the base class for all chart keyboard functions. More...

#include <vtkQtChartKeyboardFunction.h>

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

List of all members.

Public Slots

virtual void activate ()
 Called to activate the function.

Public Member Functions

 vtkQtChartKeyboardFunction (QObject *parent=0)
 Creates a chart keyboard function instance.
virtual ~vtkQtChartKeyboardFunction ()
vtkQtChartArea * getChartArea () const
 Gets the chart area for the keyboard function.
void setChartArea (vtkQtChartArea *chart)
 Sets the chart area for the keyboard function.

Protected Attributes

vtkQtChartArea * Chart
 Stores the chart area.

Detailed Description

The vtkQtChartKeyboardFunction class is the base class for all chart keyboard functions.

Definition at line 38 of file vtkQtChartKeyboardFunction.h.


Constructor & Destructor Documentation

vtkQtChartKeyboardFunction::vtkQtChartKeyboardFunction ( QObject *  parent = 0)

Creates a chart keyboard function instance.

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

Definition at line 47 of file vtkQtChartKeyboardFunction.h.


Member Function Documentation

vtkQtChartArea* vtkQtChartKeyboardFunction::getChartArea ( ) const
inline

Gets the chart area for the keyboard function.

Returns:
A pointer to the chart area.

Definition at line 53 of file vtkQtChartKeyboardFunction.h.

void vtkQtChartKeyboardFunction::setChartArea ( vtkQtChartArea *  chart)
inline

Sets the chart area for the keyboard function.

Parameters:
chartThe new chart area.

Definition at line 58 of file vtkQtChartKeyboardFunction.h.

virtual void vtkQtChartKeyboardFunction::activate ( )
virtualslot

Called to activate the function.

This method is called when the key is pressed. Sub-classes should override this method to provide the functionality.

Reimplemented in vtkQtChartKeyboardPanUp, vtkQtChartKeyboardPanDown, vtkQtChartKeyboardHistoryNext, vtkQtChartKeyboardPanLeft, vtkQtChartKeyboardZoom, vtkQtChartKeyboardHistory, and vtkQtChartKeyboardPan.


Member Data Documentation

vtkQtChartArea* vtkQtChartKeyboardFunction::Chart
protected

Stores the chart area.

Definition at line 69 of file vtkQtChartKeyboardFunction.h.


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