Go to the documentation of this file.
27 #ifndef vtkQtDebugLeaksModel_h
28 #define vtkQtDebugLeaksModel_h
31 #include "QVTKWin32Header.h"
32 #include <QStandardItemModel>
46 QList<vtkObjectBase*>
getObjects(
const QString& className);
63 virtual Qt::ItemFlags
flags(
const QModelIndex &
index)
const;
91 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)
void removeObject(vtkObjectBase *object)
GLsizei GLsizei GLuint * obj
virtual ~vtkQtDebugLeaksModel()
virtual Qt::ItemFlags flags(const QModelIndex &index) const
QString pointerAsString(void *ptr)
QList< vtkObjectBase * > getObjects(const QString &className)
abstract base class for most VTK objects
virtual Qt::ItemFlags flags(const QModelIndex &index) const
#define VTKGUISUPPORTQT_EXPORT
void processPendingObjects()
void updateReferenceCounts()
void addObject(vtkObjectBase *object)
vtkQtDebugLeaksModel(QObject *p=0)
void removeObject(vtkObjectBase *obj)