28 #ifndef vtkQtDebugLeaksModel_h
29 #define vtkQtDebugLeaksModel_h
31 #include "vtkGUISupportQtModule.h"
32 #include <QStandardItemModel>
47 QList<vtkObjectBase*> getObjects(
const QString& className);
54 QStandardItemModel* referenceCountModel(
const QString& className);
61 void processPendingObjects();
65 Qt::ItemFlags flags(
const QModelIndex&
index)
const override;
91 Qt::ItemFlags
flags(
const QModelIndex&
index)
const override;
model class that observes the vtkDebugLeaks singleton
void removeObject(vtkObjectBase *obj)
void updateReferenceCounts()
Qt::ItemFlags flags(const QModelIndex &index) const override
QString pointerAsString(void *ptr)
abstract base class for most VTK objects
~ReferenceCountModel() override
ReferenceCountModel(QObject *p=nullptr)
void addObject(vtkObjectBase *obj)