VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
Chart
vtkQtChartKeyboardFunction.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtChartKeyboardFunction.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
20
23
24
#ifndef _vtkQtChartKeyboardFunction_h
25
#define _vtkQtChartKeyboardFunction_h
26
27
28
#include "vtkQtChartExport.h"
29
#include <QObject>
30
31
class
vtkQtChartArea
;
32
33
38
class
VTKQTCHART_EXPORT
vtkQtChartKeyboardFunction
:
public
QObject
39
{
40
Q_OBJECT
41
42
public
:
46
vtkQtChartKeyboardFunction
(QObject *parent=0);
47
virtual
~vtkQtChartKeyboardFunction
() {}
48
53
vtkQtChartArea
*
getChartArea
()
const
{
return
this->Chart;}
54
58
void
setChartArea
(
vtkQtChartArea
*chart) {this->Chart = chart;}
59
60
public
slots:
66
virtual
void
activate();
67
68
protected
:
69
vtkQtChartArea
*
Chart
;
70
71
private
:
72
vtkQtChartKeyboardFunction
(
const
vtkQtChartKeyboardFunction
&);
73
vtkQtChartKeyboardFunction
&operator=(
const
vtkQtChartKeyboardFunction
&);
74
};
75
76
#endif
Generated on Fri Aug 2 2013 12:19:57 for VTK by
1.8.4