vtkQtChartKeyboardFunction Class Reference

#include <vtkQtChartKeyboardFunction.h>

Inheritance diagram for vtkQtChartKeyboardFunction:

Inheritance graph
[legend]
Collaboration diagram for vtkQtChartKeyboardFunction:

Collaboration graph
[legend]

List of all members.


Detailed Description

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

Definition at line 38 of file vtkQtChartKeyboardFunction.h.


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 ()
vtkQtChartAreagetChartArea () const
 Gets the chart area for the keyboard function.
void setChartArea (vtkQtChartArea *chart)
 Sets the chart area for the keyboard function.

Protected Attributes

vtkQtChartAreaChart
 Stores the chart area.

Constructor & Destructor Documentation

vtkQtChartKeyboardFunction::vtkQtChartKeyboardFunction ( QObject *  parent = 0  ) 

Creates a chart keyboard function instance.

Parameters:
parent The parent object.

virtual vtkQtChartKeyboardFunction::~vtkQtChartKeyboardFunction (  )  [inline, virtual]

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:
chart The new chart area.

Definition at line 58 of file vtkQtChartKeyboardFunction.h.

virtual void vtkQtChartKeyboardFunction::activate (  )  [virtual, slot]

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 vtkQtChartKeyboardHistory, vtkQtChartKeyboardHistoryNext, vtkQtChartKeyboardPan, vtkQtChartKeyboardPanLeft, vtkQtChartKeyboardPanDown, vtkQtChartKeyboardPanUp, and vtkQtChartKeyboardZoom.


Member Data Documentation

Stores the chart area.

Definition at line 69 of file vtkQtChartKeyboardFunction.h.


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

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