Go to the documentation of this file.
28 #ifndef vtkQtDebugLeaksModel_h
29 #define vtkQtDebugLeaksModel_h
31 #include "vtkGUISupportQtModule.h"
32 #include <QStandardItemModel>
48 QList<vtkObjectBase*>
getObjects(
const QString& className);
66 virtual Qt::ItemFlags
flags(
const QModelIndex &
index)
const;
94 virtual Qt::ItemFlags
flags(
const QModelIndex &
index)
const;
void registerObject(vtkObjectBase *object)
void addObject(vtkObjectBase *obj)
model class that observes the vtkDebugLeaks singleton
ReferenceCountModel(QObject *p=0)
QStandardItemModel * referenceCountModel(const QString &className)
Return an item model that contains only objects with the given class name.
void removeObject(vtkObjectBase *object)
virtual ~vtkQtDebugLeaksModel()
virtual Qt::ItemFlags flags(const QModelIndex &index) const
QString pointerAsString(void *ptr)
QList< vtkObjectBase * > getObjects(const QString &className)
Get the list of objects in the model that have the given class name.
abstract base class for most VTK objects
virtual Qt::ItemFlags flags(const QModelIndex &index) const
void processPendingObjects()
void updateReferenceCounts()
void addObject(vtkObjectBase *object)
vtkQtDebugLeaksModel(QObject *p=0)
void removeObject(vtkObjectBase *obj)