| Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The QStyleOptionComplex class is used to hold parameters that are common to all complex controls. More...
#include <QStyleOptionComplex>
Inherits QStyleOption.
Inherited by QStyleOptionComboBox, QStyleOptionGroupBox, QStyleOptionQ3ListView, QStyleOptionSlider, QStyleOptionSpinBox, QStyleOptionTitleBar, and QStyleOptionToolButton.
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.
Constructs a QStyleOptionComplex of the specified type and version, initializing the member variables to their default values. This constructor is usually called by subclasses.
Constructs a copy of the other style option.
Equals SO_Complex.
Equals 1.
This variable holds a bitwise OR of the various sub-controls that are active (pressed) for the complex control.
The default value is QStyle::SC_None.
See also QStyle::SubControl.
This variable holds a bitwise OR of the various sub-controls that need to be drawn for the complex control.
The default value is QStyle::SC_All.
See also QStyle::SubControl.
| Copyright © 2006 Trolltech | Trademarks | Qt 4.1.12 |