Model storing all the files that can be suggested in the Asset Autocompleter for PropertyAssetCtrl. More...
#include <AssetCompleterModel.h>
Inherits QAbstractTableModel.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (AssetCompleterModel, AZ::SystemAllocator) | |
AssetCompleterModel (QObject *parent=nullptr) | |
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
void | SetFilter (const AZ::Data::AssetType &assetType) |
void | SetFilter (const AZStd::vector< AZ::Data::AssetType > &assetTypes) |
void | SetFilter (FilterConstType filter) |
void | RefreshAssetList () |
void | SearchStringHighlight (QString searchString) |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
const AZStd::string_view | GetNameFromIndex (const QModelIndex &index) |
const AZ::Data::AssetId | GetAssetIdFromIndex (const QModelIndex &index) |
const AZStd::string_view | GetPathFromIndex (const QModelIndex &index) |
void | SetFetchEntryType (AssetBrowserEntry::AssetEntryType entryType) |
Model storing all the files that can be suggested in the Asset Autocompleter for PropertyAssetCtrl.