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

EntryDelegate draws a single item in AssetBrowser. More...

#include <FavoritesEntryDelegate.h>

Inherits AzToolsFramework::AssetBrowser::EntryDelegate.

Public Member Functions

 FavoritesEntryDelegate (QWidget *parent=nullptr)
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
- Public Member Functions inherited from AzToolsFramework::AssetBrowser::EntryDelegate
 EntryDelegate (QWidget *parent=nullptr)
 
void paintAssetBrowserEntry (QPainter *painter, int column, const AssetBrowserEntry *entry, const QStyleOptionViewItem &option) const
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void SetShowSourceControlIcons (bool showSourceControl)
 Set whether to show source control icons, this is still temporary mainly to support existing functionality of material browser.
 
void SetShowFavoriteIcons (bool showFavoriteIcons)
 
void SetSearchString (QString searchString)
 

Additional Inherited Members

- Signals inherited from AzToolsFramework::AssetBrowser::EntryDelegate
void RenameEntry (const QString &value) const
 
- Protected Member Functions inherited from AzToolsFramework::AssetBrowser::EntryDelegate
int DrawThumbnail (QPainter *painter, const QPoint &point, const QSize &size, const AssetBrowserEntry *entry) const
 Draw a thumbnail and return its width.
 
- Protected Attributes inherited from AzToolsFramework::AssetBrowser::EntryDelegate
int m_iconSize
 
bool m_showSourceControl = false
 
bool m_showFavoriteIcons = false
 
AZStd::string m_searchString
 

Detailed Description

EntryDelegate draws a single item in AssetBrowser.


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