FlexibleTabBar Class Reference

Public Types

enum  FlexibleTabBarWidgetLocation { LeftCorner , RightCorner , AfterTabs }
 

Public Member Functions

 FlexibleTabBar (DockableTabBar *bar)
 
void addWidget (QWidget *widget, FlexibleTabBarWidgetLocation corner)
 
void insertWidget (int idx, QWidget *widget, FlexibleTabBarWidgetLocation corner)
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 

Member Enumeration Documentation

◆ FlexibleTabBarWidgetLocation

Enumerator
LeftCorner 
RightCorner 
AfterTabs 

Constructor & Destructor Documentation

◆ FlexibleTabBar()

FlexibleTabBar::FlexibleTabBar ( DockableTabBar bar)

Member Function Documentation

◆ addWidget()

void FlexibleTabBar::addWidget ( QWidget *  widget,
FlexibleTabBarWidgetLocation  corner 
)

◆ insertWidget()

void FlexibleTabBar::insertWidget ( int  idx,
QWidget *  widget,
FlexibleTabBarWidgetLocation  corner 
)

◆ paintEvent()

void FlexibleTabBar::paintEvent ( QPaintEvent *  event)
overrideprotected