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

QStyleOptionComplex Class Reference

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

#include <QStyleOptionComplex>

Inherits QStyleOption.

Inherited by QStyleOptionSlider, QStyleOptionSpinBox, QStyleOptionListView, QStyleOptionToolButton, QStyleOptionComboBox, and QStyleOptionTitleBar.

List of all members.

Read-Only Properties

Public Functions


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.


Property Documentation

activeParts : QStyle::SCFlags

This property holds the sub-controls that are active for the complex control.

This a bitwise OR of the various parts that are "active" (pressed) for the complex control.

See also QStyle::SubControl.

parts : QStyle::SCFlags

This property holds the sub-controls that need to be painted.

This is a bitwise OR of the various parts that need to be drawn for the complex control.

See also QStyle::SubControl.


Member Function Documentation

QStyleOptionComplex::QStyleOptionComplex ( int version, int type = SO_Complex )

Constructs a QStyleOptioncomplex of type type and version version. Usually this constructor is called by structures derived QStyleOptionComplex. The parts parameter is initialized to QStyle::SC_All and the activeParts is linked to QStyle::SC_None.


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp1