Open 3D Engine AzQtComponents 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.
AzQtComponents::OverlayWidget Class Reference

Inherits QWidget.

Classes

struct  LayerInfo
 

Signals

void LayerAdded (int layerId)
 
void LayerRemoved (int layerId)
 

Public Member Functions

 OverlayWidget (QWidget *parent)
 
void SetRoot (QWidget *root)
 
int PushLayer (QWidget *centerWidget, QWidget *breakoutWidget, const char *title, const OverlayWidgetButtonList &buttons)
 
bool PopLayer ()
 
bool PopLayer (int layerId)
 
bool PopAllLayers ()
 
void RefreshAll ()
 
void RefreshLayer (int layerId)
 
bool IsAtRoot () const
 
bool CanClose () const
 

Static Public Member Functions

static int PushLayerToOverlay (OverlayWidget *overlay, QWidget *centerWidget, QWidget *breakoutWidget, const char *title, const OverlayWidgetButtonList &buttons)
 
static int PushLayerToContainingOverlay (QWidget *overlayChild, QWidget *centerWidget, QWidget *breakoutWidget, const char *title, const OverlayWidgetButtonList &buttons)
 
static OverlayWidgetGetContainingOverlay (QWidget *overlayChild)
 

Static Public Attributes

static const int s_invalidOverlayIndex
 

Protected Member Functions

int PushLayer (Internal::OverlayWidgetLayer *layer)
 
bool PopLayer (Internal::OverlayWidgetLayer *layer)
 
void OnStackEntryRemoved (int index)
 

Static Protected Member Functions

static int PushLayer (OverlayWidget *targetOverlay, Internal::OverlayWidgetLayer *layer, bool hasBreakoutWindow)
 

Protected Attributes

int m_layerIdCounter
 
AZ_PUSH_DISABLE_DLL_EXPORT_MEMBER_WARNING QVector< LayerInfom_layers
 
QStackedLayout * m_stack
 
int m_rootIndex
 
Qt::DockWidgetAreas m_originalDockWidgetAreas
 
QPointer< QDockWidget > m_parentDockWidget
 

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