|
Open 3D Engine LyShine Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#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) |
Protected Member Functions | |
| QVariant | DataForName (const QModelIndex &index, int role) const |
| void | InvalidateFilter () |
| Use the current filter setting and re-evaluate the filter. | |
| bool | FilterEntity (const AZ::EntityId &entityId) |
| bool | IsFiltered (const AZ::EntityId &entityId) const |
| bool | IsMatch (const AZ::EntityId &entityId) const |
Model for items in the "Find Entity" tree view. Each item represents an Entity.