|
enum | Roles { ObjectRole = Qt::UserRole + 1,
UserRole = Qt::UserRole + 100
} |
|
|
| ObjectTreeModel (QObject *parent=nullptr) |
|
void | appendRootObject (QObject *object) |
|
QList< QObject * > | rootObjects () const |
|
void | setRootObject (QObject *rootObject) |
|
void | setRootObjects (const QList< QObject * > &rootObjects) |
|
void | clear () |
|
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
|
virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
|
virtual QModelIndex | parent (const QModelIndex &index) const override |
|
virtual QHash< int, QByteArray > | roleNames () const override |
|
QModelIndex | indexForObject (QObject *object) const |
|
|
ObjectTreeModelPrivate *const | d_ptr |
|
The documentation for this class was generated from the following files: