VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
vtkQtAnnotationView.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtAnnotationView.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
-------------------------------------------------------------------------*/
32
#ifndef __vtkQtAnnotationView_h
33
#define __vtkQtAnnotationView_h
34
35
#include "QVTKWin32Header.h"
36
#include "
vtkQtView.h
"
37
#include <QObject>
38
39
#include <QPointer>
40
#include "
vtkQtAnnotationLayersModelAdapter.h
"
41
42
class
QItemSelection;
43
class
QTableView;
44
45
class
QVTK_EXPORT
vtkQtAnnotationView
:
public
vtkQtView
46
{
47
Q_OBJECT
48
49
public
:
50
static
vtkQtAnnotationView
*
New
();
51
vtkTypeMacro(
vtkQtAnnotationView
,
vtkQtView
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent);
53
57
virtual
QWidget*
GetWidget
();
58
60
virtual
void
Update
();
61
62
protected
:
63
vtkQtAnnotationView
();
64
~
vtkQtAnnotationView
();
65
66
private
slots:
67
void
slotQtSelectionChanged(
const
QItemSelection&,
const
QItemSelection&);
68
69
private
:
70
unsigned
long
LastInputMTime;
71
72
QPointer<QTableView> View;
73
vtkQtAnnotationLayersModelAdapter
* Adapter;
74
75
vtkQtAnnotationView
(
const
vtkQtAnnotationView
&);
// Not implemented.
76
void
operator=(
const
vtkQtAnnotationView
&);
// Not implemented.
77
78
};
79
80
#endif
Generated on Sun Sep 9 2012 13:03:39 for VTK by
1.8.1.2