Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pqPythonDebugLeaksView Class Reference

Widget to track VTK object references. More...

#include <pqPythonDebugLeaksView.h>

Inheritance diagram for pqPythonDebugLeaksView:
Inheritance graph
[legend]
Collaboration diagram for pqPythonDebugLeaksView:
Collaboration graph
[legend]

Public Member Functions

 pqPythonDebugLeaksView (QWidget *p=nullptr)
 
 ~pqPythonDebugLeaksView () override
 
void setShell (pqPythonShell *)
 
pqPythonShellshell () const
 
- Public Member Functions inherited from vtkQtDebugLeaksView
 vtkQtDebugLeaksView (QWidget *p=0)
 
virtual ~vtkQtDebugLeaksView ()
 
vtkQtDebugLeaksModelmodel ()
 
bool filterEnabled () const
 
void setFilterEnabled (bool value)
 
QString filterText () const
 
void setFilterText (const QString &text)
 

Protected Member Functions

void onObjectDoubleClicked (vtkObjectBase *object) override
 
void onClassNameDoubleClicked (const QString &className) override
 
virtual void addObjectToPython (vtkObjectBase *object)
 
virtual void addObjectsToPython (const QList< vtkObjectBase *> &objects)
 

Protected Attributes

QPointer< pqPythonShellShell
 

Additional Inherited Members

- Protected Slots inherited from vtkQtDebugLeaksView
void onCurrentRowChanged (const QModelIndex &current)
 
void onRowDoubleClicked (const QModelIndex &)
 
void onFilterTextChanged (const QString &filterText)
 
void onFilterToggled ()
 
void onFilterHelp ()
 

Detailed Description

Widget to track VTK object references.

pqPythonDebugLeaksView extends vtkQtDebugLeaksView to add support for double clicking on a row and adding corresponding objects to the interpreter in a Python shell. The Python shell must be provided using pqPythonDebugLeaksView::setShell.

Definition at line 22 of file pqPythonDebugLeaksView.h.

Constructor & Destructor Documentation

◆ pqPythonDebugLeaksView()

pqPythonDebugLeaksView::pqPythonDebugLeaksView ( QWidget *  p = nullptr)

◆ ~pqPythonDebugLeaksView()

pqPythonDebugLeaksView::~pqPythonDebugLeaksView ( )
override

Member Function Documentation

◆ setShell()

void pqPythonDebugLeaksView::setShell ( pqPythonShell )

◆ shell()

pqPythonShell* pqPythonDebugLeaksView::shell ( ) const

◆ onObjectDoubleClicked()

void pqPythonDebugLeaksView::onObjectDoubleClicked ( vtkObjectBase object)
overrideprotectedvirtual

Reimplemented from vtkQtDebugLeaksView.

◆ onClassNameDoubleClicked()

void pqPythonDebugLeaksView::onClassNameDoubleClicked ( const QString &  className)
overrideprotectedvirtual

Reimplemented from vtkQtDebugLeaksView.

◆ addObjectToPython()

virtual void pqPythonDebugLeaksView::addObjectToPython ( vtkObjectBase object)
protectedvirtual

◆ addObjectsToPython()

virtual void pqPythonDebugLeaksView::addObjectsToPython ( const QList< vtkObjectBase *> &  objects)
protectedvirtual

Member Data Documentation

◆ Shell

QPointer<pqPythonShell> pqPythonDebugLeaksView::Shell
protected

Definition at line 40 of file pqPythonDebugLeaksView.h.


The documentation for this class was generated from the following file: