|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <EscStatusFactGroupListModel.h>
Inheritance diagram for EscStatusFactGroupListModel:
Collaboration diagram for EscStatusFactGroupListModel:Public Member Functions | |
| EscStatusFactGroupListModel (QObject *parent=nullptr) | |
Public Member Functions inherited from FactGroupListModel | |
| FactGroupListModel (const char *factGroupNamePrefix, QObject *parent=nullptr) | |
| void | handleMessageForFactGroupCreation (Vehicle *vehicle, const mavlink_message_t &message) |
| Allows for creation/updating of dynamic FactGroups based on incoming messages. | |
Public Member Functions inherited from QmlObjectListModel | |
| QmlObjectListModel (QObject *parent=nullptr) | |
| int | count () const override final |
| bool | isEmpty () const override final |
| void | setDirty (bool dirty) override final |
| void | clear () override final |
| QObject * | removeOne (const QObject *object) override final |
| bool | contains (const QObject *object) override final |
| void | clearAndDeleteContents () override final |
| Clears the list and calls deleteLater on each entry. | |
| QObject * | get (int index) |
| QObject * | operator[] (int index) |
| const QObject * | operator[] (int index) const |
| void | append (QObject *object) |
| Caller maintains responsibility for object ownership and deletion. | |
| void | append (QList< QObject * > objects) |
| Caller maintains responsibility for object ownership and deletion. | |
| QObjectList | swapObjectList (const QObjectList &newlist) |
| QObject * | removeAt (int index) |
| void | insert (int index, QObject *object) |
| void | insert (int index, QList< QObject * > objects) |
| int | indexOf (const QObject *object) |
| void | move (int from, int to) |
| template<class T > | |
| T | value (int index) const |
| QList< QObject * > * | objectList () |
Public Member Functions inherited from ObjectListModelBase | |
| ObjectListModelBase (QObject *parent=nullptr) | |
| ~ObjectListModelBase () override | |
| QModelIndex | index (int row, int column=0, const QModelIndex &parent=QModelIndex()) const override |
| QModelIndex | parent (const QModelIndex &child) const override |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| bool | hasChildren (const QModelIndex &parent=QModelIndex()) const override |
Public Member Functions inherited from ObjectItemModelBase | |
| ObjectItemModelBase (QObject *parent=nullptr) | |
| ~ObjectItemModelBase () override | |
| int count READ count NOTIFY | countChanged (bool dirty READ dirty WRITE setDirty NOTIFY dirtyChanged) bool dirty() const |
| void | beginResetModel () |
| Depth-counted beginResetModel — only the outermost call has effect. | |
| void | endResetModel () |
| Depth-counted endResetModel — only the outermost call has effect. | |
Additional Inherited Members | |
Signals inherited from ObjectItemModelBase | |
| void | countChanged (int count) |
| void | dirtyChanged (bool dirty) |
Protected Slots inherited from ObjectItemModelBase | |
| void | _childDirtyChanged (bool dirty) |
Protected Attributes inherited from FactGroupListModel | |
| const char * | _factGroupNamePrefix |
Protected Attributes inherited from ObjectListModelBase | |
| bool | _skipDirtyFirstItem = false |
Protected Attributes inherited from ObjectItemModelBase | |
| bool | _dirty = false |
| uint | _resetModelNestingCount = 0 |
Static Protected Attributes inherited from ObjectItemModelBase | |
| static constexpr int | ObjectRole = Qt::UserRole |
| static constexpr int | TextRole = Qt::UserRole + 1 |
Definition at line 5 of file EscStatusFactGroupListModel.h.
|
explicit |
Definition at line 4 of file EscStatusFactGroupListModel.cc.
|
finalprotectedvirtual |
Implements FactGroupListModel.
Definition at line 48 of file EscStatusFactGroupListModel.cc.
|
finalprotectedvirtual |
Implements FactGroupListModel.
Definition at line 10 of file EscStatusFactGroupListModel.cc.
References QmlObjectListModel::clear(), and ObjectListModelBase::index().