VTK
|
The vtkQtChartKeyboardFunction class is the base class for all chart keyboard functions. More...
#include <vtkQtChartKeyboardFunction.h>
Public Slots | |
virtual void | activate () |
Called to activate the function. More... | |
Public Member Functions | |
vtkQtChartKeyboardFunction (QObject *parent=0) | |
Creates a chart keyboard function instance. More... | |
virtual | ~vtkQtChartKeyboardFunction () |
vtkQtChartArea * | getChartArea () const |
Gets the chart area for the keyboard function. More... | |
void | setChartArea (vtkQtChartArea *chart) |
Sets the chart area for the keyboard function. More... | |
Protected Attributes | |
vtkQtChartArea * | Chart |
Stores the chart area. More... | |
The vtkQtChartKeyboardFunction class is the base class for all chart keyboard functions.
Definition at line 38 of file vtkQtChartKeyboardFunction.h.
vtkQtChartKeyboardFunction::vtkQtChartKeyboardFunction | ( | QObject * | parent = 0 | ) |
Creates a chart keyboard function instance.
parent | The parent object. |
|
inlinevirtual |
Definition at line 47 of file vtkQtChartKeyboardFunction.h.
|
inline |
Gets the chart area for the keyboard function.
Definition at line 53 of file vtkQtChartKeyboardFunction.h.
|
inline |
Sets the chart area for the keyboard function.
chart | The new chart area. |
Definition at line 58 of file vtkQtChartKeyboardFunction.h.
|
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.
|
protected |
Stores the chart area.
Definition at line 69 of file vtkQtChartKeyboardFunction.h.