Inherits QAbstractItemModel.
Public Types | |
enum | ColumnIndex { COLUMN_NAME } |
enum | Role { ROLE_OBJECT_PTR = Qt::UserRole , ROLE_OBJECT_INDEX , ROLE_OBJECT_NAME , ROLE_JOINT_PTR , ROLE_JOINT_BOOL , ROLE_ACTOR_PTR } |
Public Member Functions | |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
QModelIndex | parent (const QModelIndex &child) const override |
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
const QItemSelectionModel * | GetSelectionModel () const |
QItemSelectionModel * | GetSelectionModel () |
const Actor * | GetActor () const |
void | SetActor (Actor *actor) |
void | SetActorInstance (ActorInstance *actorInstance) |
QModelIndex | GetModelIndexByObjectIndex (size_t objectIndex) |
QModelIndex | FindModelIndex (SimulatedObject *object) |
void | AddJointsToSelection (QItemSelection &selection, size_t objectIndex, const AZStd::vector< size_t > &jointIndices) |