Class to handle dialogs and windows related to prefab save operations. More...
#include <PrefabSaveLoadHandler.h>
Inherits QObject, AzQtComponents::DragAndDropEventsBus::Handler, AzQtComponents::DragAndDropItemViewEventsBus::Handler, and AzToolsFramework::AssetSystemBus::Handler.
Public Types | |
enum class | PrefabSaveResult { Continue , Retry , Cancel } |
Public Member Functions | |
AZ_CLASS_ALLOCATOR (PrefabSaveHandler, AZ::SystemAllocator) | |
int | GetDragAndDropEventsPriority () const override |
void | DragEnter (QDragEnterEvent *event, AzQtComponents::DragAndDropContextBase &context) override |
void | DragMove (QDragMoveEvent *event, AzQtComponents::DragAndDropContextBase &context) override |
void | DragLeave (QDragLeaveEvent *event) override |
void | Drop (QDropEvent *event, AzQtComponents::DragAndDropContextBase &context) override |
int | GetDragAndDropItemViewEventsPriority () const override |
void | CanDropItemView (bool &accepted, AzQtComponents::DragAndDropContextBase &context) override |
void | DoDropItemView (bool &accepted, AzQtComponents::DragAndDropContextBase &context) override |
void | InitializePrefabToastNotificationsView () |
Initializes PrefabToastNotificationsView member, which uses the editor's main window as the parent widget to show toasts. | |
int | ExecuteClosePrefabDialog (TemplateId templateId) |
void | ExecuteSavePrefabDialog (AZ::EntityId entityId) |
void | ExecuteSavePrefabDialog (TemplateId templateId, bool useSaveAllPrefabsPreference) |
Class to handle dialogs and windows related to prefab save operations.