25 #ifndef vtkQtDebugLeaksModel_h
26 #define vtkQtDebugLeaksModel_h
28 #include "vtkGUISupportQtModule.h"
29 #include <QStandardItemModel>
31 #include "vtkConfigure.h"
47 QList<vtkObjectBase*> getObjects(
const QString& className);
54 QStandardItemModel* referenceCountModel(
const QString& className);
61 void processPendingObjects();
65 Qt::ItemFlags flags(
const QModelIndex &
index)
const VTK_OVERRIDE;
93 Qt::ItemFlags
flags(
const QModelIndex &
index)
const VTK_OVERRIDE;
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() override
ReferenceCountModel(QObject *p=0)
Qt::ItemFlags flags(const QModelIndex &index) const override
void addObject(vtkObjectBase *obj)