Inherits QMainWindow, IEditorNotifyListener, UiEditorDLLBus::Handler, UiEditorChangeNotificationBus::Handler, UiEditorInternalRequestBus::Handler, UiEditorInternalNotificationBus::Handler, AzToolsFramework::AssetBrowser::AssetBrowserModelNotificationBus::Handler, UiEditorEntityContextNotificationBus::Handler, AzToolsFramework::EditorEvents::Bus::Handler, FontNotificationBus::Handler, and AZ::Debug::TraceMessageBus::Handler.
|
| EditorWindow (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()) |
|
void | OnEditorNotifyEvent (EEditorNotifyEvent ev) override |
|
LyShine::EntityArray | GetSelectedElements () override |
|
AZ::EntityId | GetActiveCanvasId () override |
|
UndoStack * | GetActiveUndoStack () override |
|
void | OpenSourceCanvasFile (QString absolutePathToFile) override |
|
void | OnEditorTransformPropertiesNeedRefresh () override |
|
void | OnEditorPropertiesRefreshEntireTree () override |
|
AzToolsFramework::EntityIdList | GetSelectedEntityIds () override |
|
AZ::Entity::ComponentArrayType | GetSelectedComponents () override |
|
AZ::EntityId | GetActiveCanvasEntityId () override |
|
void | OnSelectedEntitiesPropertyChanged () override |
|
void | OnBeginUndoableEntitiesChange () override |
|
void | OnEndUndoableEntitiesChange (const AZStd::string &commandText) override |
|
void | EntryAdded (const AzToolsFramework::AssetBrowser::AssetBrowserEntry *entry) override |
|
void | EntryRemoved (const AzToolsFramework::AssetBrowser::AssetBrowserEntry *entry) override |
|
void | OnSliceInstantiated (const AZ::Data::AssetId &sliceAssetId, const AZ::SliceComponent::SliceInstanceAddress &sliceAddress, const AzFramework::SliceInstantiationTicket &ticket) override |
|
void | OnSliceInstantiationFailed (const AZ::Data::AssetId &sliceAssetId, const AzFramework::SliceInstantiationTicket &ticket) override |
|
void | OnEscape () override |
|
void | OnFontsReloaded () override |
|
bool | OnPreError (const char *, const char *, int, const char *, const char *message) override |
|
bool | OnPreWarning (const char *, const char *, int, const char *, const char *) override |
|
AZ::EntityId | GetCanvas () |
|
HierarchyWidget * | GetHierarchy () |
|
ViewportWidget * | GetViewport () |
|
PropertiesWidget * | GetProperties () |
|
MainToolbar * | GetMainToolbar () |
|
ModeToolbar * | GetModeToolbar () |
|
EnterPreviewToolbar * | GetEnterPreviewToolbar () |
|
PreviewToolbar * | GetPreviewToolbar () |
|
NewElementToolbarSection * | GetNewElementToolbarSection () |
|
CoordinateSystemToolbarSection * | GetCoordinateSystemToolbarSection () |
|
CanvasSizeToolbarSection * | GetCanvasSizeToolbarSection () |
|
const QCursor & | GetEntityPickerCursor () |
|
bool | CanExitNow () |
|
UndoStack * | GetActiveStack () |
|
AssetTreeEntry * | GetSliceLibraryTree () |
|
UiEditorMode | GetEditorMode () |
| Returns the current mode of the editor (Edit or Preview)
|
|
AZ::EntityId | GetCanvasForCurrentEditorMode () |
| Returns the UI canvas for the current mode (Edit or Preview)
|
|
void | ToggleEditorMode () |
| Toggle the editor mode between Edit and Preview.
|
|
AZ::EntityId | GetPreviewModeCanvas () |
| Get the copy of the canvas that is used in Preview mode (will return invalid entity ID if not in preview mode)
|
|
AZ::Vector2 | GetPreviewCanvasSize () |
| Get the preview canvas size. (0,0) means use viewport size.
|
|
void | SetPreviewCanvasSize (AZ::Vector2 previewCanvasSize) |
| Set the preview canvas size. (0,0) means use viewport size.
|
|
void | SaveEditorWindowSettings () |
|
UiSliceManager * | GetSliceManager () |
|
UiEditorEntityContext * | GetEntityContext () |
|
void | ReplaceEntityContext (UiEditorEntityContext *entityContext) |
|
QMenu * | createPopupMenu () override |
|
AZ::EntityId | GetCanvasForEntityContext (const AzFramework::EntityContextId &contextId) |
|
void | EditSliceInNewTab (AZ::Data::AssetId sliceAssetId) |
| Open a new tab and instantiate the given slice asset for editing in a special slice editing mode.
|
|
void | UpdateChangedStatusOnAssetChange (const AzFramework::EntityContextId &contextId, const AZ::Data::Asset< AZ::Data::AssetData > &asset) |
| Called if an asset has changed and been reloaded (used to detect if slice being edited is different to the one on disk)
|
|
void | EntitiesAddedOrRemoved () |
| Called when any entities have been added to or removed from the active canvas.
|
|
void | FontTextureHasChanged () |
|
void | RefreshEditorMenu () |
|
void | ShowEntitySearchModal () |
|