Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::AssetBrowser::AssetBrowserFavoritesModel Class Reference

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
 

The documentation for this class was generated from the following file: