VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Views
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 "vtkViewsQtModule.h"
// For export macro
36
#include "QVTKWin32Header.h"
37
#include "
vtkQtView.h
"
38
#include <QObject>
39
40
#include <QPointer>
41
#include "
vtkQtAnnotationLayersModelAdapter.h
"
42
43
class
QItemSelection;
44
class
QTableView;
45
46
class
VTKVIEWSQT_EXPORT
vtkQtAnnotationView
:
public
vtkQtView
47
{
48
Q_OBJECT
49
50
public
:
51
static
vtkQtAnnotationView
*
New
();
52
vtkTypeMacro(
vtkQtAnnotationView
,
vtkQtView
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
58
virtual
QWidget*
GetWidget
();
59
61
virtual
void
Update
();
62
63
protected
:
64
vtkQtAnnotationView
();
65
~
vtkQtAnnotationView
();
66
67
private
slots:
68
void
slotQtSelectionChanged(
const
QItemSelection&,
const
QItemSelection&);
69
70
private
:
71
unsigned
long
LastInputMTime;
72
73
QPointer<QTableView> View;
74
vtkQtAnnotationLayersModelAdapter
* Adapter;
75
76
vtkQtAnnotationView
(
const
vtkQtAnnotationView
&);
// Not implemented.
77
void
operator=(
const
vtkQtAnnotationView
&);
// Not implemented.
78
79
};
80
81
#endif
Generated on Thu May 24 2012 22:22:38 for VTK by
1.8.1