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

QStyleOptionTitleBar Class Reference

The QStyleOptionTitleBar class is used to describe the parameters for drawing a title bar. More...

#include <QStyleOptionTitleBar>

Inherits QStyleOptionComplex.

List of all members.

Read-Only Properties

Public Functions


Detailed Description

The QStyleOptionTitleBar class is used to describe the parameters for drawing a title bar.

The QStyleOptionTitleBar structure is used to draw QTitleBar an internal class.


Property Documentation

icon : QPixmap

This property holds the icon for the title bar (if any).

text : QString

This property holds the text of the title bar.

titleBarFlags : Qt::WFlags

This property holds the widget flags for the title bar.

See also Qt::WFlags.

titleBarState : int

This property holds the state of the title bar. This is basically the window state of the underlying widget.

See also QWidget::windowState().


Member Function Documentation

QStyleOptionTitleBar::QStyleOptionTitleBar ( int version )

Construct a QStyleOptionTitleBar with version version.

The values of the structure will be zero, null, or empty. It is the responsibility of the developer to set them correctly.


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp1