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) |