27 #ifndef vtkQtDebugLeaksModel_h
28 #define vtkQtDebugLeaksModel_h
30 #include "vtkGUISupportQtModule.h"
31 #include "QVTKWin32Header.h"
32 #include <QStandardItemModel>
46 QList<vtkObjectBase*> getObjects(
const QString& className);
52 QStandardItemModel* referenceCountModel(
const QString& className);
59 void processPendingObjects();
63 virtual Qt::ItemFlags flags(
const QModelIndex &
index)
const;
91 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