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::AssetCompleterModel Class Reference

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)
 

Detailed Description

Model storing all the files that can be suggested in the Asset Autocompleter for PropertyAssetCtrl.


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