#include <AssetEditorWidget.h>
Inherits QWidget, and AZ::SystemTickBus::Handler.
Signals | |
void | OnAssetSaveFailedSignal (const AZStd::string &error) |
void | OnAssetOpenedSignal (const AZ::Data::Asset< AZ::Data::AssetData > &asset) |
Public Member Functions | |
AZ_CLASS_ALLOCATOR (AssetEditorWidget, AZ::SystemAllocator) | |
AssetEditorWidget (QWidget *parent=nullptr) | |
void | CreateAsset (AZ::Data::AssetType assetType, const AZ::Uuid &observerToken) |
void | OpenAsset (const AZ::Data::Asset< AZ::Data::AssetData > asset) |
bool | SaveAssetToPath (AZStd::string_view assetPath) |
void | SaveAll () |
bool | SaveAllAndClose () |
void | SetStatusText (const QString &assetStatus) |
void | UpdateSaveMenuActionsStatus () |
void | SetCurrentTab (AssetEditorTab *tab) |
void | UpdateTabTitle (AssetEditorTab *tab) |
void | SetLastSavePath (const AZStd::string &savePath) |
const QString | GetLastSavePath () const |
void | AddRecentPath (const AZStd::string &recentPath) |
void | CloseTab (AssetEditorTab *tab) |
void | CloseTabAndContainerIfEmpty (AssetEditorTab *tab) |
bool | IsValidAssetType (const AZ::Data::AssetType &assetType) const |
void | CreateAsset (AZ::Data::AssetType assetType) |
Protected Member Functions | |
void | UpdateRecentFileListState () |
Provides ability to create, edit, and save reflected assets.