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

Static Public Member Functions

static bool RenameEntry (const AZStd::vector< const AssetBrowserEntry * > &entries, QWidget *callingWidget)
 
static void AfterRename (QString newVal, const AZStd::vector< const AssetBrowserEntry * > &entries, QWidget *callingWidget)
 
static void DeleteEntries (const AZStd::vector< const AssetBrowserEntry * > &entries, QWidget *callingWidget)
 
static void MoveEntries (const AZStd::vector< const AssetBrowserEntry * > &entries, QWidget *callingWidget)
 
static void DuplicateEntries (const AZStd::vector< const AssetBrowserEntry * > &entries)
 
static void MoveEntry (AZStd::string_view fromPath, AZStd::string_view toPath, bool isFolder, QWidget *parent=nullptr)
 
static void CopyEntry (AZStd::string_view fromPath, AZStd::string_view toPath, bool isFolder)
 
static bool IsFolderEmpty (AZStd::string_view path)
 
static bool IsEngineOrProjectFolder (AZStd::string_view path)
 
static Qt::DropAction SelectDropActionForEntries (const AssetBrowserEntry *parent, const AZStd::vector< const AssetBrowserEntry * > &entries)
 
static QVariant GetThumbnail (const AssetBrowserEntry *entry, bool returnIcon=false, bool isFavorite=false)
 
static Qt::ItemFlags GetAssetBrowserEntryCommonItemFlags (const AssetBrowserEntry *entry, Qt::ItemFlags defaultFlags)
 
static QString GetAssetBrowserEntryNameWithHighlighting (const AssetBrowserEntry *entry, const QString &highlightedText)
 

Member Function Documentation

◆ GetAssetBrowserEntryCommonItemFlags()

static Qt::ItemFlags AzToolsFramework::AssetBrowser::AssetBrowserViewUtils::GetAssetBrowserEntryCommonItemFlags ( const AssetBrowserEntry entry,
Qt::ItemFlags  defaultFlags 
)
static
Returns
the most common flags for an asset browser entry, included drag and drop.

◆ GetAssetBrowserEntryNameWithHighlighting()

static QString AzToolsFramework::AssetBrowser::AssetBrowserViewUtils::GetAssetBrowserEntryNameWithHighlighting ( const AssetBrowserEntry entry,
const QString &  highlightedText 
)
static
Returns
the asset browser entry name with highlighted text

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