Move Qt Toast Notifications from GraphCanvas into Framework
Move the existing Qt Toast Notification QWidgets, EBuses and logic from the GraphCanvas gem into AzQtComponents and AzToolsFramework so they can be re-used. Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com>
This commit is contained in:
+3
-3
@@ -15,10 +15,10 @@
|
||||
#include <AzCore/Debug/TraceMessageBus.h>
|
||||
|
||||
#include <AzQtComponents/Components/StyledDockWidget.h>
|
||||
#include <AzToolsFramework/UI/Notifications/ToastBus.h>
|
||||
|
||||
#include <GraphCanvas/Editor/AssetEditorBus.h>
|
||||
#include <GraphCanvas/Components/SceneBus.h>
|
||||
#include <GraphCanvas/Components/ToastBus.h>
|
||||
|
||||
#include <ScriptCanvas/Debugger/ValidationEvents/ValidationEvent.h>
|
||||
#include <ScriptCanvas/Debugger/StatusBus.h>
|
||||
@@ -183,7 +183,7 @@ namespace ScriptCanvasEditor
|
||||
//! Owns the model for each currently opened graph
|
||||
class ValidationData
|
||||
: private ScriptCanvas::StatusRequestBus::Handler
|
||||
, private GraphCanvas::ToastNotificationBus::MultiHandler
|
||||
, private AzToolsFramework::ToastNotificationBus::MultiHandler
|
||||
{
|
||||
public:
|
||||
AZ_CLASS_ALLOCATOR(ValidationData, AZ::SystemAllocator, 0);
|
||||
@@ -227,7 +227,7 @@ namespace ScriptCanvasEditor
|
||||
: public AzQtComponents::StyledDockWidget
|
||||
, public GraphCanvas::AssetEditorNotificationBus::Handler
|
||||
, public GraphCanvas::SceneNotificationBus::Handler
|
||||
, public GraphCanvas::ToastNotificationBus::Handler
|
||||
, public AzToolsFramework::ToastNotificationBus::Handler
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user