VTK
vtkQtChartKeyboardZoom.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtChartKeyboardZoom.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 _vtkQtChartKeyboardZoom_h
25 #define _vtkQtChartKeyboardZoom_h
26 
27 
28 #include "vtkQtChartExport.h"
30 
31 
35 class VTKQTCHART_EXPORT vtkQtChartKeyboardZoom :
37 {
38 public:
39  enum ZoomFlags
40  {
43  ZoomYOnly
44  };
45 
47  {
49  ZoomOut
50  };
51 
52 public:
56  vtkQtChartKeyboardZoom(QObject *parent=0);
58 
63  virtual void activate();
64 
65 protected:
69  void setZoomFlags(ZoomFlags flags) {this->Flags = flags;}
70 
74  void setZoomMethod(ZoomMethod method) {this->Method = method;}
75 
76 private:
77  ZoomFlags Flags;
78  ZoomMethod Method;
79 
80 private:
83 };
84 
85 
90 class VTKQTCHART_EXPORT vtkQtChartKeyboardZoomX :
92 {
93 public:
97  vtkQtChartKeyboardZoomX(QObject *parent=0);
99 
100 private:
103 };
104 
105 
110 class VTKQTCHART_EXPORT vtkQtChartKeyboardZoomY :
112 {
113 public:
117  vtkQtChartKeyboardZoomY(QObject *parent=0);
119 
120 private:
123 };
124 
125 
130 class VTKQTCHART_EXPORT vtkQtChartKeyboardZoomOut :
132 {
133 public:
137  vtkQtChartKeyboardZoomOut(QObject *parent=0);
139 
140 private:
143 };
144 
145 
150 class VTKQTCHART_EXPORT vtkQtChartKeyboardZoomOutX :
152 {
153 public:
157  vtkQtChartKeyboardZoomOutX(QObject *parent=0);
159 
160 private:
163 };
164 
165 
170 class VTKQTCHART_EXPORT vtkQtChartKeyboardZoomOutY :
172 {
173 public:
177  vtkQtChartKeyboardZoomOutY(QObject *parent=0);
179 
180 private:
183 };
184 
185 #endif
The vtkQtChartKeyboardZoomOut class zooms out the chart contents in both directions.
The vtkQtChartKeyboardZoomY class zooms in the chart contents in the y-direction. ...
The vtkQtChartKeyboardZoomOutY class zooms out the chart contents in the y-direction.
Zoom only in the x-direction.
The vtkQtChartKeyboardFunction class is the base class for all chart keyboard functions.
The vtkQtChartKeyboardZoomOutX class zooms out the chart contents in the x-direction.
void setZoomFlags(ZoomFlags flags)
Sets the zoom flags to use when activated.
The vtkQtChartKeyboardZoom class zooms the chart contents.
void setZoomMethod(ZoomMethod method)
Sets the zoom method to use when activated.
virtual void activate()
Called to activate the function.
The vtkQtChartKeyboardZoomX class zooms in the chart contents in the x-direction. ...