28 #ifndef vtkQtDebugLeaksModel_h
29 #define vtkQtDebugLeaksModel_h
31 #include "vtkGUISupportQtModule.h"
32 #include <QStandardItemModel>
48 QList<vtkObjectBase*> getObjects(
const QString& className);
55 QStandardItemModel* referenceCountModel(
const QString& className);
62 void processPendingObjects();
66 virtual Qt::ItemFlags flags(
const QModelIndex &
index)
const;
94 virtual Qt::ItemFlags
flags(
const QModelIndex &
index)
const;
model class that observes the vtkDebugLeaks singleton
void removeObject(vtkObjectBase *obj)
void updateReferenceCounts()
QString pointerAsString(void *ptr)
abstract base class for most VTK objects
ReferenceCountModel(QObject *p=0)
void addObject(vtkObjectBase *obj)
virtual Qt::ItemFlags flags(const QModelIndex &index) const