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::StyledDockWidget Class Reference

Inherits QDockWidget.


void undock ()
void aboutToClose ()

Public Member Functions

 StyledDockWidget (QWidget *parent=nullptr)
 StyledDockWidget (const QString &name, QWidget *parent=nullptr)
 StyledDockWidget (const QString &name, bool skipTitleBarOverdraw, QWidget *parent=nullptr)
void createCustomTitleBar ()
TitleBarcustomTitleBar () const
bool isSingleFloatingChild ()
bool doesTitleBarOverdraw () const
bool skipTitleBarOverdraw () const

Static Public Member Functions

static void drawFrame (QPainter &p, QRect rect, bool drawTop=true)

Protected Member Functions

void closeEvent (QCloseEvent *event) override
bool nativeEvent (const QByteArray &eventType, void *message, long *result) override
bool event (QEvent *event) override
void showEvent (QShowEvent *event) override
void paintEvent (QPaintEvent *) override

Member Function Documentation

◆ doesTitleBarOverdraw()

bool AzQtComponents::StyledDockWidget::doesTitleBarOverdraw ( ) const

Returns true if title bar overdraw is being used. Title bar overdraw is only used on Windows 10. In this mode we do have native title bar but we draw our own on top of it instead of removing it. It's a workaround against Win10 bug where a white stripe appears if we have native border + no native title bar.

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