Inherits QAbstractItemModel, and AssetBrowserFavoritesNotificationBus::Handler.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (AssetBrowserFavoritesModel, AZ::SystemAllocator) | |
AssetBrowserFavoritesModel (QObject *parent=nullptr) | |
void | LoadFavorites () |
void | SetSearchWidget (SearchWidget *searchWidget) |
void | Select (AssetBrowserFavoriteItem *favoriteItem) |
void | Select (const QModelIndex &favorite) |
void | UpdateSearchItem (SearchAssetBrowserFavoriteItem *searchItem) |
void | SetParentView (AssetBrowserFavoritesView *parentView) |
void | EnableSearchItems () |
void | DisableSearchItems () |
bool | GetIsSearchDisabled () |
QModelIndex | GetTopLevelIndex () |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
QModelIndex | parent (const QModelIndex &child) const override |
Qt::DropActions | supportedDropActions () const override |
bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override |
QMimeData * | mimeData (const QModelIndexList &indexes) const override |
QStringList | mimeTypes () const override |
void | FavoritesChanged () override |