VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
Chart
vtkQtChartMousePan.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtChartMousePan.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 _vtkQtChartMousePan_h
25
#define _vtkQtChartMousePan_h
26
27
28
#include "vtkQtChartExport.h"
29
#include "
vtkQtChartMouseFunction.h
"
30
31
class
vtkQtChartContentsSpace
;
32
class
vtkQtChartMousePanInternal;
33
class
QMouseEvent;
34
35
40
class
VTKQTCHART_EXPORT
vtkQtChartMousePan
:
public
vtkQtChartMouseFunction
41
{
42
public
:
46
vtkQtChartMousePan
(QObject *parent=0);
47
virtual
~
vtkQtChartMousePan
();
48
50
51
virtual
void
setMouseOwner
(
bool
owns);
52
53
virtual
bool
mousePressEvent
(QMouseEvent *e,
vtkQtChartArea
*chart);
54
virtual
bool
mouseMoveEvent
(QMouseEvent *e,
vtkQtChartArea
*chart);
55
virtual
bool
mouseReleaseEvent
(QMouseEvent *e,
vtkQtChartArea
*chart);
56
virtual
bool
mouseDoubleClickEvent
(QMouseEvent *e,
vtkQtChartArea
*chart);
58
59
private
:
60
vtkQtChartMousePanInternal *Internal;
61
62
private
:
63
vtkQtChartMousePan
(
const
vtkQtChartMousePan
&);
64
vtkQtChartMousePan
&operator=(
const
vtkQtChartMousePan
&);
65
};
66
67
#endif
Generated on Fri Aug 2 2013 12:19:57 for VTK by
1.8.4