Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

QStyleOptionTab Class Reference

The QStyleOptionTab class is used to describe the parameters for drawing a TabBar. More...

#include <QStyleOptionTab>

Inherits QStyleOption.

List of all members.

Read-Only Properties

Public Functions


Detailed Description

The QStyleOptionTab class is used to describe the parameters for drawing a TabBar.

The QStyleOptionTab structure is used for drawing the QTabBar and the pane for QTabWidget.


Property Documentation

icon : QIconSet

This property holds the iconset for the tab (if any).

row : int

This property holds which row the tab is currently in. 0 indicates the front row.

Currently this property is not used.

shape : QTabBar::Shape

This property holds the tab shape used to draw the tab.

See also QTabBar::Shape.

text : QString

This property holds the text of the tab (if any).


Member Function Documentation

QStyleOptionTab::QStyleOptionTab ( int version )

Constructs a QStyleOptionTab structure with version version. The parameters are either 0, empty or null. It is the developer's responsibility to populate the structure with proper values.


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp1