Home · All Classes · Modules

QStyleOptionTitleBar Class Reference
[QtGui module]

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

Inherits QStyleOptionComplex.

Methods

Members

Static Members


Detailed Description

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

The QStyleOptionTitleBar class is used to draw the title bars of QWorkspace's MDI children.


Method Documentation

QStyleOptionTitleBar.__init__ (self)

Constructs a QStyleOptionTitleBar. The members variables are initialized to default values.

QStyleOptionTitleBar.__init__ (self, QStyleOptionTitleBar other)

Constructs a copy of the other style option.


Member Documentation

QIcon icon

This variable holds the icon for the title bar.

QString text

This variable holds the text of the title bar.

Qt.WindowFlags titleBarFlags

This variable holds the widget flags for the title bar.

See also Qt.WFlags.

int titleBarState

This variable holds the state of the title bar.

This is basically the window state of the underlying widget.

See also QWidget.windowState().

int Type

This member should be treated as a constant.

Equals SO_TitleBar.

int Version

This member should be treated as a constant.

Equals 1.


PyQt 4.0.1 for X11Copyright © Riverbank Computing Ltd and Trolltech AS 2006Qt 4.1.4