Open 3D Engine Atom Gem API Reference 24.09.2
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AtomToolsFramework::AssetSelectionGrid Class Reference

Widget for managing and selecting from a library of assets. More...

#include <AssetSelectionGrid.h>

Inherits QDialog, and AzFramework::AssetCatalogEventBus::Handler.

Public Types

using FilterFn = AZStd::function<bool(const AZStd::string&)>
 

Signals

void PathSelected (const AZStd::string &path)
 
void PathRejected ()
 

Public Member Functions

 AssetSelectionGrid (const QString &title, const FilterFn &filterFn, const QSize &tileSize, QWidget *parent=nullptr)
 
void Clear ()
 
void Populate ()
 
void SetFilter (const FilterFn &filterFn)
 
const FilterFn & GetFilter () const
 
void AddPath (const AZStd::string &path)
 
void RemovePath (const AZStd::string &path)
 
void SelectPath (const AZStd::string &path)
 
AZStd::string GetSelectedPath () const
 

Detailed Description

Widget for managing and selecting from a library of assets.


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