<class name="QStyleOptionComplex" doc="/**
&lt;p&gt;The &lt;a href=&quot;QStyleOptionComplex.html#QStyleOptionComplex(int, int)&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt; class is used to hold parameters that are common to all complex controls.&lt;/p&gt;
&lt;p&gt;This class is not used on its own. Instead it is used to derive other complex control options, for example &lt;a href=&quot;QStyleOptionSlider.html&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QStyleOptionSpinBox.html&quot;&gt;&lt;tt&gt;QStyleOptionSpinBox&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For performance reasons, the access to the member variables is direct (i.e&amp;#x2e;, using the &lt;tt&gt;.&lt;/tt&gt; or &lt;tt&gt;-&amp;gt;&lt;/tt&gt; operator).&lt;/p&gt;
&lt;p&gt;For an example demonstrating how style options can be used, see the Styles&lt;/tt&gt; example.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QStyleOptionComplex(com.trolltech.qt.gui.QStyleOptionComplex other)" doc="/**
&lt;p&gt;Constructs a copy of the &lt;tt&gt;other&lt;/tt&gt; style option.&lt;/p&gt;
 */"/>
    <method name="public QStyleOptionComplex(int version, int type)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QStyleOptionComplex.html#QStyleOptionComplex(int, int)&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt; of the specified &lt;tt&gt;type&lt;/tt&gt; and &lt;tt&gt;version&lt;/tt&gt;, initializing the member variables to their default values. This constructor is usually called by subclasses.&lt;/p&gt;
 */"/>
    <method name="public QStyleOptionComplex(int version)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QStyleOptionComplex.html#QStyleOptionComplex(int, int)&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;version&lt;/tt&gt;, SO_Complex). */"/>
    <method name="public QStyleOptionComplex()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QStyleOptionComplex.html#QStyleOptionComplex(int, int)&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt;(QStyleOptionComplex::Version, SO_Complex). */"/>
    <enum name="StyleOptionVersion" doc="/**
&lt;p&gt;This enum is used to hold information about the version of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The version is used by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComplex.html#StyleOptionType-enum&quot;&gt;&lt;tt&gt;StyleOptionType&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Version" doc="/**
&lt;p&gt;1&lt;/p&gt;
 */"/>
</enum>
    <enum name="StyleOptionType" doc="/**
&lt;p&gt;This enum is used to hold information about the type of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The type is used internally by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass and your own styles.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComplex.html#StyleOptionVersion-enum&quot;&gt;&lt;tt&gt;StyleOptionVersion&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Type" doc="/**
&lt;p&gt;The type of style option provided (&lt;a href=&quot;QStyleOption.html#OptionType-enum&quot;&gt;&lt;tt&gt;SO_Complex&lt;/tt&gt;&lt;/a&gt; for this class).&lt;/p&gt;
 */"/>
</enum>
    <method name="public final int subControls()" doc="/**
&lt;p&gt;Returns a bitwise OR of the various sub-controls that need to be drawn for the complex control.&lt;/p&gt;
&lt;p&gt;The default value is QStyle::SC_All.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComplex.html#setSubControls(int)&quot;&gt;&lt;tt&gt;setSubControls&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::SubControl&lt;/tt&gt; */"/>
    <method name="public final void setSubControls(int subControls)" doc="/**
&lt;p&gt;Sets a bitwise OR of the various sub-controls that need to be drawn for the complex control to &lt;tt&gt;subControls&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is QStyle::SC_All.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComplex.html#subControls()&quot;&gt;&lt;tt&gt;subControls&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::SubControl&lt;/tt&gt; */"/>
    <method name="public final int activeSubControls()" doc="/**
&lt;p&gt;Returns a bitwise OR of the various sub-controls that are active (pressed) for the complex control.&lt;/p&gt;
&lt;p&gt;The default value is QStyle::SC_None.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComplex.html#setActiveSubControls(int)&quot;&gt;&lt;tt&gt;setActiveSubControls&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::SubControl&lt;/tt&gt; */"/>
    <method name="public final void setActiveSubControls(int activeSubControls)" doc="/**
&lt;p&gt;Sets a bitwise OR of the various sub-controls that are active (pressed) for the complex control to &lt;tt&gt;activeSubControls&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is QStyle::SC_None.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComplex.html#activeSubControls()&quot;&gt;&lt;tt&gt;activeSubControls&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::SubControl&lt;/tt&gt; */"/>
</class>
