VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GUISupport
Qt
vtkQtDebugLeaksView.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtDebugLeaksView.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
=========================================================================*/
28
#ifndef __vtkQtDebugLeaksView_h
29
#define __vtkQtDebugLeaksView_h
30
31
#include "QVTKWin32Header.h"
32
#include <QWidget>
33
34
class
QModelIndex;
35
class
vtkObjectBase
;
36
class
vtkQtDebugLeaksModel
;
37
38
class
QVTK_EXPORT
vtkQtDebugLeaksView
:
public
QWidget
39
{
40
Q_OBJECT
41
42
public
:
43
44
vtkQtDebugLeaksView
(QWidget *p=0);
45
virtual
~
vtkQtDebugLeaksView
();
46
47
vtkQtDebugLeaksModel
* model();
48
50
bool
filterEnabled()
const
;
51
53
void
setFilterEnabled(
bool
value
);
54
56
QString filterText()
const
;
57
59
void
setFilterText(
const
QString& text);
60
61
protected
:
62
63
virtual
void
onObjectDoubleClicked(
vtkObjectBase
*
object
);
64
virtual
void
onClassNameDoubleClicked(
const
QString& className);
65
66
protected
slots:
67
68
void
onCurrentRowChanged(
const
QModelIndex& current);
69
void
onRowDoubleClicked(
const
QModelIndex&);
70
void
onFilterTextChanged(
const
QString& filterText);
71
void
onFilterToggled();
72
void
onFilterHelp();
73
74
private
:
75
76
class
qInternal;
77
qInternal* Internal;
78
79
Q_DISABLE_COPY(
vtkQtDebugLeaksView
);
80
81
};
82
83
#endif
Generated on Tue Jan 8 2013 05:45:33 for VTK by
1.8.1.2