Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::ToastNotificationsView Class Referencefinal

A QWidget that displays and manages a queue of toast notifications. More...

#include <ToastNotificationsView.h>

Inherits QWidget, and ToastRequestBus::Handler.

Public Member Functions

 ToastNotificationsView (QWidget *parent, ToastRequestBusId busId)
 
void HideToastNotification (const ToastId &toastId) override
 
ToastId ShowToastNotification (const AzQtComponents::ToastConfiguration &toastConfiguration) override
 
ToastId ShowToastAtCursor (const AzQtComponents::ToastConfiguration &toastConfiguration) override
 
ToastId ShowToastAtPoint (const QPoint &screenPosition, const QPointF &anchorPoint, const AzQtComponents::ToastConfiguration &) override
 
void OnHide ()
 
void OnShow ()
 
void UpdateToastPosition ()
 
void SetOffset (const QPoint &offset)
 
void SetAnchorPoint (const QPointF &anchorPoint)
 
void SetMaxQueuedNotifications (AZ::u32 maxQueuedNotifications)
 
void SetRejectDuplicates (bool rejectDuplicates)
 

Detailed Description

A QWidget that displays and manages a queue of toast notifications.

This view must be updated by its parent when the parent widget is show, hidden, moved or resized because toast notifications are displayed on top of the parent and are not part of the layout, so they must be manually moved.


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