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
vtkQtChartMouseFunction
The vtkQtChartMouseFunction class is the base class for all chart mouse functions.
Definition:
vtkQtChartMouseFunction.h:42
vtkQtChartMouseFunction::mouseMoveEvent
virtual bool mouseMoveEvent(QMouseEvent *e, vtkQtChartArea *chart)=0
Called to handle the mouse move event.
vtkQtChartContentsSpace
The vtkQtChartContentsSpace class defines the contents space for a chart.
Definition:
vtkQtChartContentsSpace.h:41
vtkQtChartMouseFunction::mouseReleaseEvent
virtual bool mouseReleaseEvent(QMouseEvent *e, vtkQtChartArea *chart)=0
Called to handle the mouse release event.
vtkQtChartMouseFunction.h
vtkQtChartMouseFunction::mousePressEvent
virtual bool mousePressEvent(QMouseEvent *e, vtkQtChartArea *chart)=0
Called to handle the mouse press event.
vtkQtChartMouseFunction::mouseDoubleClickEvent
virtual bool mouseDoubleClickEvent(QMouseEvent *e, vtkQtChartArea *chart)=0
Called to handle the double click event.
vtkQtChartMouseFunction::setMouseOwner
virtual void setMouseOwner(bool owns)
Sets whether or not the function owns the mouse.
Definition:
vtkQtChartMouseFunction.h:76
vtkQtChartArea
The vtkQtChartArea class manages the chart axes and layers.
Definition:
vtkQtChartArea.h:44
vtkQtChartMousePan
The vtkQtChartMousePan class pans the contents in response to mouse events.
Definition:
vtkQtChartMousePan.h:40
Generated on Sun Oct 19 2014 13:07:13 for VTK by
1.8.8