|
| StateModel (QObject *parent=nullptr) |
|
State * | state () const |
|
void | setState (State *state) |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
| ObjectTreeModel (QObject *parent=nullptr) |
|
void | appendRootObject (QObject *object) |
|
QList< QObject * > | rootObjects () const |
|
void | setRootObject (QObject *rootObject) |
|
void | setRootObjects (const QList< QObject * > &rootObjects) |
|
void | clear () |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
|
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
|
QModelIndex | parent (const QModelIndex &index) const override |
|
QHash< int, QByteArray > | roleNames () const override |
|
QModelIndex | indexForObject (QObject *object) const |
|
|
ObjectTreeModelPrivate *const | d_ptr |
|
Enumerator |
---|
ElementRole |
return Element*
|
InternalIdRole |
return quint64
|
The documentation for this class was generated from the following files: