VTK
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
=========================================================================*/
26
#ifndef vtkQtDebugLeaksView_h
27
#define vtkQtDebugLeaksView_h
28
29
#include "vtkGUISupportQtModule.h"
// For export macro
30
#include <QWidget>
31
32
class
QModelIndex;
33
class
vtkObjectBase
;
34
class
vtkQtDebugLeaksModel
;
35
36
class
VTKGUISUPPORTQT_EXPORT
vtkQtDebugLeaksView
:
public
QWidget
37
{
38
Q_OBJECT
39
40
public
:
41
42
vtkQtDebugLeaksView
(QWidget *p=
nullptr
);
43
~
vtkQtDebugLeaksView
()
override
;
44
45
vtkQtDebugLeaksModel
* model();
46
50
bool
filterEnabled()
const
;
51
55
void
setFilterEnabled(
bool
value
);
56
60
QString filterText()
const
;
61
65
void
setFilterText(
const
QString& text);
66
67
protected
:
68
69
virtual
void
onObjectDoubleClicked(
vtkObjectBase
*
object
);
70
virtual
void
onClassNameDoubleClicked(
const
QString& className);
71
72
protected
slots:
73
74
void
onCurrentRowChanged(
const
QModelIndex& current);
75
void
onRowDoubleClicked(
const
QModelIndex&);
76
void
onFilterTextChanged(
const
QString& filterText);
77
void
onFilterToggled();
78
void
onFilterHelp();
79
80
private
:
81
82
class
qInternal;
83
qInternal* Internal;
84
85
Q_DISABLE_COPY(
vtkQtDebugLeaksView
);
86
87
};
88
89
#endif
vtkQtDebugLeaksModel
model class that observes the vtkDebugLeaks singleton
Definition:
vtkQtDebugLeaksModel.h:33
vtkX3D::value
Definition:
vtkX3D.h:220
vtkQtDebugLeaksView
view class to display contents of vtkQtDebugLeaksModel
Definition:
vtkQtDebugLeaksView.h:36
vtkObjectBase
abstract base class for most VTK objects
Definition:
vtkObjectBase.h:62
Generated by
1.8.16