Home · Overviews · Examples 

QStyleOptionComplex Class Reference
[com.trolltech.qt.gui module]

The QStyleOptionComplex class is used to hold parameters that are common to all complex controls. More...

Inherits QStyleOption.

Inherited by QStyleOptionComboBox, QStyleOptionGroupBox, QStyleOptionSizeGrip, QStyleOptionSlider, QStyleOptionSpinBox, QStyleOptionTitleBar, and QStyleOptionToolButton.


Detailed Description

The QStyleOptionComplex class is used to hold parameters that are common to all complex controls.

This class is not used on its own. Instead it is used to derive other complex control options, for example QStyleOptionSlider and QStyleOptionSpinBox.

For performance reasons, the access to the member variables is direct (i.e., using the . or -> operator).

For an example demonstrating how style options can be used, see the Styles example.

See also QStyleOption.


Copyright © 2008 Trolltech Trademarks
Qt Jambi 4.3.4_01