|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# QStyleOptionTabBarBase Class Reference
[QtGui module]

The QStyleOptionTabBarBase class is used to describe the the base of a tabbar. That is the part that the tabbar usually overlaps with. More...

    #include <QStyleOptionTabBarBase>

Inherits QStyleOption.

- List of all members, including inherited members

### Public Functions

- QStyleOptionTabBarBase ()
- QStyleOptionTabBarBase ( const QStyleOptionTabBarBase & other )

- 2 public functions inherited from QStyleOption

### Public Variables

- QRect selectedTabRect
- QTabBar::Shape shape
- QRect tabBarRect

- 7 public variables inherited from QStyleOption

### Static Public Members

- const int Type
- const int Version

- 2 static public members inherited from QStyleOption

## Detailed Description

The QStyleOptionTabBarBase class is used to describe the the base of a tabbar. That is the part that the tabbar usually overlaps with.

This is drawn by a standalone QTabBar (one that isn't part of a QTabWidget).

See also QTabBar::drawBase().

## Member Function Documentation

### QStyleOptionTabBarBase::QStyleOptionTabBarBase ()

Construct a QStyleOptionTabBarBase. The members are given default values.

### QStyleOptionTabBarBase::QStyleOptionTabBarBase ( const QStyleOptionTabBarBase & other )

Constructs a copy of other.

## Member Variable Documentation

### const int QStyleOptionTabBarBase::Type

Equals SO_TabBarBase.

### const int QStyleOptionTabBarBase::Version

Equals 1.

### QRect QStyleOptionTabBarBase::selectedTabRect

The rectangle containing the selected tab

This is within the bounds of the tabBarRect.

### QTabBar::Shape QStyleOptionTabBarBase::shape

The shape of the tabbar.

### QRect QStyleOptionTabBarBase::tabBarRect

The rectangle containing all the tabs.