#include <FindEntityItemModel.h>
Inherits QAbstractItemModel.
Public Types | |
enum | Column { ColumnName , ColumnCount } |
Columns of data to display about each Entity. More... | |
enum | Roles { VisibilityRole = Qt::UserRole + 1 , RoleCount } |
Public Member Functions | |
AZ_CLASS_ALLOCATOR (FindEntityItemModel, AZ::SystemAllocator) | |
FindEntityItemModel (QObject *parent=nullptr) | |
void | Initialize (AZ::EntityId canvasEntityId) |
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
int | columnCount (const QModelIndex &) const override |
QVariant | data (const QModelIndex &index, int role) const override |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
QModelIndex | parent (const QModelIndex &index) const override |
QModelIndex | GetIndexFromEntity (const AZ::EntityId &entityId, int column=0) const |
AZ::EntityId | GetEntityFromIndex (const QModelIndex &index) const |
void | SearchStringChanged (const AZStd::string &filter) |
void | SearchFilterChanged (const AZStd::vector< AZ::Uuid > &componentFilters) |
Model for items in the "Find Entity" tree view. Each item represents an Entity.