Home · All Classes · Modules

QStyleHintReturn Class Reference
[QtGui module]

The QStyleHintReturn class provides style hints that return more than basic data types. More...

Inherited by QStyleHintReturnMask.

Types

Methods

Members

Static Members


Detailed Description

The QStyleHintReturn class provides style hints that return more than basic data types.

QStyleHintReturn and its subclasses are used to pass information from a style back to the querying widget. This is most useful when the return value from QStyle.styleHint() does not provide enough detail; for example, when a mask is to be returned.


Type Documentation

QStyleHintReturn.HintReturnType

Constant Value Description
QStyleHintReturn.SH_Default 0xf000 QStyleHintReturn
QStyleHintReturn.SH_Mask QStyle.SH_RubberBand_Mask QStyle.SH_FocusFrame_Mask



Method Documentation

QStyleHintReturn.__init__ (self, int version = QStyleOption.Version, int type = QStyleHintReturn.SH_Default)

Constructs a QStyleHintReturn with version version and type type.

The version has no special meaning for QStyleHintReturn; it can be used by subclasses to distinguish between different version of the same hint type.

See also QStyleOption.version and QStyleOption.type.

QStyleHintReturn.__init__ (self, QStyleHintReturn)


Member Documentation

int Type

This member should be treated as a constant.

Equals SH_Default.

int type

int Version

This member should be treated as a constant.

Equals 1.

int version


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