SearchEntryDelegate draws a single item in AssetBrowserListView. More...
#include <EntryDelegate.h>
Inherits AzToolsFramework::AssetBrowser::EntryDelegate.
Public Member Functions | |
SearchEntryDelegate (QWidget *parent=nullptr) | |
void | Init () |
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 |
SearchEntryDelegate draws a single item in AssetBrowserListView.