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

QStyleOptionToolBox Class Reference

The QStyleOptionToolBox class is used to describe the parameters needed for drawing a tool box. More...

#include <QStyleOptionToolBox>

Inherits QStyleOption.

List of all members.

Read-Only Properties

Public Functions


Detailed Description

The QStyleOptionToolBox class is used to describe the parameters needed for drawing a tool box.

The QStyleOptionToolBox structure is used for drawing parts of the QToolBox.


Property Documentation

bgRole : QPalette::ColorRole

This property holds the background role for the tool box tab.

currentWidgetBGRole : QPalette::ColorRole

This property holds the background role for the current widget.

This may be useful if you wish to draw the selected tab differently.

currentWidgetPalette : QPalette

This property holds the palette for the current widget.

This may be useful if you wish the draw the selected tab differently.

icon : QIconSet

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

text : QString

This property holds the text (if any) for the tool box tab.


Member Function Documentation

QStyleOptionToolBox::QStyleOptionToolBox ( int version )

Create a QStyleOptionToolBox structure with version version

The values of the structure are set to zero, null, or empty. It is the developers responsibility to set them correctly.


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp1