src
paraview-5.12
Qt
Python
pqPythonDebugLeaksView.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
4
#ifndef pqPythonDebugLeaksView_h
5
#define pqPythonDebugLeaksView_h
6
7
#include "
vtkQtDebugLeaksView.h
"
8
9
#include "pqPythonModule.h"
// for exports
10
#include <QPointer>
// for QPointer
11
21
class
pqPythonShell
;
22
class
PQPYTHON_EXPORT
pqPythonDebugLeaksView
:
public
vtkQtDebugLeaksView
23
{
24
Q_OBJECT
25
26
public
:
27
pqPythonDebugLeaksView
(QWidget* p =
nullptr
);
28
~
pqPythonDebugLeaksView
()
override
;
29
30
void
setShell(
pqPythonShell
*);
31
pqPythonShell
* shell()
const
;
32
33
protected
:
34
void
onObjectDoubleClicked
(
vtkObjectBase
*
object
)
override
;
35
void
onClassNameDoubleClicked
(
const
QString& className)
override
;
36
37
virtual
void
addObjectToPython(
vtkObjectBase
*
object
);
38
virtual
void
addObjectsToPython(
const
QList<vtkObjectBase*>& objects);
39
40
QPointer<pqPythonShell>
Shell
;
41
};
42
43
#endif // !pqPythonDebugLeaksView_h
vtkQtDebugLeaksView::onObjectDoubleClicked
virtual void onObjectDoubleClicked(vtkObjectBase *object)
pqPythonShell
Widget for a Python shell.
Definition:
pqPythonShell.h:33
vtkQtDebugLeaksView
pqPythonDebugLeaksView::Shell
QPointer< pqPythonShell > Shell
Definition:
pqPythonDebugLeaksView.h:40
vtkQtDebugLeaksView::onClassNameDoubleClicked
virtual void onClassNameDoubleClicked(const QString &className)
vtkQtDebugLeaksView.h
vtkObjectBase
pqPythonDebugLeaksView
Widget to track VTK object references.
Definition:
pqPythonDebugLeaksView.h:22
Generated by
1.8.17 on Wed Mar 27 2024