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

Inherits QObject.

Public Types

enum  {
  Height = 32 , HandleLeftMargin = 3 , TitleLeftMargin = 8 , TitleRightMargin = 18 ,
  CloseButtonRightMargin = 2 , ButtonsSpacing = 5 , ResizeTopMargin = 4 , MaxTabTitleWidth = 200
}
 

Public Member Functions

 DockBar (QObject *parent=nullptr)
 
DockBarColors GetColors (bool active)
 

Static Public Member Functions

static void drawFrame (QPainter *painter, const QRect &area, bool drawSideBorders, const DockBarColors &colors)
 
static void drawTabContents (QPainter *painter, const QRect &area, const DockBarColors &colors, const QString &title)
 
static QString GetTabTitleElided (const QString &title, int &textWidth)
 
static int GetTabTitleMinWidth (const QString &title, bool enableTear=true)
 
static DockBarColors getColors (bool active)
 

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