Falkon Develop
Cross-platform Qt-based web browser
TabBarHelper Class Reference

#include <combotabbar.h>

Inheritance diagram for TabBarHelper:

Public Slots

void setCurrentIndex (int index)
 

Public Member Functions

 TabBarHelper (bool isPinnedTabBar, ComboTabBar *comboTabBar)
 
int tabPadding () const
 
void setTabPadding (int padding)
 
QColor baseColor () const
 
void setBaseColor (const QColor &color)
 
void setTabButton (int index, QTabBar::ButtonPosition position, QWidget *widget)
 
QSize tabSizeHint (int index) const override
 
QSize baseClassTabSizeHint (int index) const
 
QRect draggedTabRect () const
 
QPixmap tabPixmap (int index) const
 
bool isActiveTabBar ()
 
void setActiveTabBar (bool activate)
 
void removeTab (int index)
 
void setScrollArea (QScrollArea *scrollArea)
 
void useFastTabSizeHint (bool enabled)
 
void showDropIndicator (int index, ComboTabBar::DropIndicatorPosition position)
 
void clearDropIndicator ()
 
bool isDisplayedOnViewPort (int globalLeft, int globalRight)
 
bool isDragInProgress () const
 

Static Public Member Functions

static void initStyleBaseOption (QStyleOptionTabBarBase *optTabBase, QTabBar *tabbar, QSize size)
 

Properties

int tabPadding
 
QColor baseColor
 

Detailed Description

Definition at line 227 of file combotabbar.h.

Constructor & Destructor Documentation

◆ TabBarHelper()

TabBarHelper::TabBarHelper ( bool  isPinnedTabBar,
ComboTabBar comboTabBar 
)
explicit

Definition at line 1000 of file combotabbar.cpp.

Member Function Documentation

◆ baseClassTabSizeHint()

QSize TabBarHelper::baseClassTabSizeHint ( int  index) const

Definition at line 1045 of file combotabbar.cpp.

◆ baseColor()

QColor TabBarHelper::baseColor ( ) const

Definition at line 1022 of file combotabbar.cpp.

◆ clearDropIndicator()

void TabBarHelper::clearDropIndicator ( )

Definition at line 1157 of file combotabbar.cpp.

◆ draggedTabRect()

QRect TabBarHelper::draggedTabRect ( ) const

Definition at line 1050 of file combotabbar.cpp.

◆ initStyleBaseOption()

void TabBarHelper::initStyleBaseOption ( QStyleOptionTabBarBase *  optTabBase,
QTabBar *  tabbar,
QSize  size 
)
static

Definition at line 1227 of file combotabbar.cpp.

◆ isActiveTabBar()

bool TabBarHelper::isActiveTabBar ( )

Definition at line 1104 of file combotabbar.cpp.

◆ isDisplayedOnViewPort()

bool TabBarHelper::isDisplayedOnViewPort ( int  globalLeft,
int  globalRight 
)

Definition at line 1163 of file combotabbar.cpp.

◆ isDragInProgress()

bool TabBarHelper::isDragInProgress ( ) const

Definition at line 1178 of file combotabbar.cpp.

◆ removeTab()

void TabBarHelper::removeTab ( int  index)

Definition at line 1128 of file combotabbar.cpp.

◆ setActiveTabBar()

void TabBarHelper::setActiveTabBar ( bool  activate)

Definition at line 1109 of file combotabbar.cpp.

◆ setBaseColor()

void TabBarHelper::setBaseColor ( const QColor &  color)

Definition at line 1027 of file combotabbar.cpp.

◆ setCurrentIndex

void TabBarHelper::setCurrentIndex ( int  index)
slot

Definition at line 1183 of file combotabbar.cpp.

◆ setScrollArea()

void TabBarHelper::setScrollArea ( QScrollArea *  scrollArea)

Definition at line 1140 of file combotabbar.cpp.

◆ setTabButton()

void TabBarHelper::setTabButton ( int  index,
QTabBar::ButtonPosition  position,
QWidget *  widget 
)

Definition at line 1032 of file combotabbar.cpp.

◆ setTabPadding()

void TabBarHelper::setTabPadding ( int  padding)

Definition at line 1017 of file combotabbar.cpp.

◆ showDropIndicator()

void TabBarHelper::showDropIndicator ( int  index,
ComboTabBar::DropIndicatorPosition  position 
)

Definition at line 1150 of file combotabbar.cpp.

◆ tabPadding()

int TabBarHelper::tabPadding ( ) const

Definition at line 1012 of file combotabbar.cpp.

◆ tabPixmap()

QPixmap TabBarHelper::tabPixmap ( int  index) const

Definition at line 1066 of file combotabbar.cpp.

◆ tabSizeHint()

QSize TabBarHelper::tabSizeHint ( int  index) const
override

Definition at line 1037 of file combotabbar.cpp.

◆ useFastTabSizeHint()

void TabBarHelper::useFastTabSizeHint ( bool  enabled)

Definition at line 1145 of file combotabbar.cpp.

Property Documentation

◆ baseColor

QColor TabBarHelper::baseColor
readwrite

Definition at line 224 of file combotabbar.h.

◆ tabPadding

int TabBarHelper::tabPadding
readwrite

Definition at line 224 of file combotabbar.h.


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