Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2132

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QMotifStyle" doc="/**
&lt;p&gt;The &lt;a href=&quot;QMotifStyle.html#QMotifStyle(boolean)&quot;&gt;&lt;tt&gt;QMotifStyle&lt;/tt&gt;&lt;/a&gt; class provides Motif look and feel.&lt;/p&gt;
&lt;p&gt;This class implements the Motif look and feel. It closely resembles the original Motif look as defined by the Open Group, but with some minor improvements. The Motif style is Qt's default GUI style on Unix platforms.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qmotifstyle.png&quot; /&gt;&lt;/p&gt;
@see &lt;tt&gt;QWindowsXPStyle&lt;/tt&gt;
@see &lt;tt&gt;QMacStyle&lt;/tt&gt;
@see &lt;a href=&quot;QWindowsStyle.html&quot;&gt;&lt;tt&gt;QWindowsStyle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPlastiqueStyle.html&quot;&gt;&lt;tt&gt;QPlastiqueStyle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCDEStyle.html&quot;&gt;&lt;tt&gt;QCDEStyle&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QMotifStyle(boolean useHighlightCols)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QMotifStyle.html#QMotifStyle(boolean)&quot;&gt;&lt;tt&gt;QMotifStyle&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;useHighlightCols&lt;/tt&gt; is false (the default), the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color.&lt;/p&gt;
 */"/>
    <method name="public QMotifStyle()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#QMotifStyle(boolean)&quot;&gt;&lt;tt&gt;QMotifStyle&lt;/tt&gt;&lt;/a&gt;(false). */"/>
    <method name="public final void setUseHighlightColors(boolean arg__1)" doc="/**
&lt;p&gt;If &lt;tt&gt;arg__1&lt;/tt&gt; is false, the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color.&lt;/p&gt;
&lt;p&gt;The effect will show up the next time an application palette is set via QApplication::setPalette(). The current color palette of the application remains unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QMotifStyle.html#useHighlightColors()&quot;&gt;&lt;tt&gt;useHighlightColors&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::polish&lt;/tt&gt; */"/>
    <method name="protected com.trolltech.qt.gui.QIcon standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap standardIcon, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="protected final com.trolltech.qt.gui.QIcon standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap standardIcon, com.trolltech.qt.gui.QStyleOption opt)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;standardIconImplementation&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;standardIcon&lt;/tt&gt;, &lt;tt&gt;opt&lt;/tt&gt;, 0). */"/>
    <method name="protected final com.trolltech.qt.gui.QIcon standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap standardIcon)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;standardIconImplementation&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;standardIcon&lt;/tt&gt;, 0, 0). */"/>
    <method name="public final boolean useHighlightColors()" doc="/**
&lt;p&gt;Returns true if the style treats the highlight colors of the palette in a Motif-like manner, which is a simple inversion between the base and the text color; otherwise returns false. The default is false.&lt;/p&gt;

@see &lt;a href=&quot;QMotifStyle.html#setUseHighlightColors(boolean)&quot;&gt;&lt;tt&gt;setUseHighlightColors&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl cc, com.trolltech.qt.gui.QStyleOptionComplex opt, com.trolltech.qt.gui.QPainter p, com.trolltech.qt.gui.QWidget w)" doc="/**
&lt;p&gt;Draws the given &lt;tt&gt;cc&lt;/tt&gt; using the provided &lt;tt&gt;p&lt;/tt&gt; with the style options specified by &lt;tt&gt;opt&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;w&lt;/tt&gt; argument is optional and can be used as aid in drawing the control.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;opt&lt;/tt&gt; parameter is a pointer to a &lt;a href=&quot;QStyleOptionComplex.html&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt; object that can be cast to the correct subclass using the qstyleoption_cast() function. Note that the &lt;tt&gt;rect&lt;/tt&gt; member of the specified &lt;tt&gt;opt&lt;/tt&gt; must be in logical coordinates. Reimplementations of this function should use &lt;a href=&quot;QStyle.html#visualRect(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.QRect, com.trolltech.qt.core.QRect)&quot;&gt;&lt;tt&gt;visualRect&lt;/tt&gt;&lt;/a&gt; to change the logical coordinates into screen coordinates before calling the &lt;a href=&quot;QMotifStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawPrimitive&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QMotifStyle.html#drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawControl&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;The table below is listing the complex control elements and their associated style option subclass. The style options contain all the parameters required to draw the controls, including QStyleOption::state which holds the style flags&lt;/tt&gt; that are used when drawing. The table also describes which flags that are set when casting the given &lt;tt&gt;opt&lt;/tt&gt; to the appropriate subclass.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Complex Control&lt;/th&gt;&lt;th&gt;&lt;a href=&quot;QStyleOptionComplex.html&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt; Subclass&lt;/th&gt;&lt;th&gt;Style Flag&lt;/th&gt;&lt;th&gt;Remark&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyle.html#ComplexControl-enum&quot;&gt;&lt;tt&gt;CC_SpinBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyleOptionSpinBox.html&quot;&gt;&lt;tt&gt;QStyleOptionSpinBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the spin box is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the spin box has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyle.html#ComplexControl-enum&quot;&gt;&lt;tt&gt;CC_ComboBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyleOptionComboBox.html&quot;&gt;&lt;tt&gt;QStyleOptionComboBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the combobox is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the combobox has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyle.html#ComplexControl-enum&quot;&gt;&lt;tt&gt;CC_ScrollBar&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyleOptionSlider.html&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the scroll bar is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the scroll bar has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyle.html#ComplexControl-enum&quot;&gt;&lt;tt&gt;CC_Slider&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyleOptionSlider.html&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the slider is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the slider has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyle.html#ComplexControl-enum&quot;&gt;&lt;tt&gt;CC_Dial&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyleOptionSlider.html&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the dial is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the dial has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;6&quot;&gt;&lt;a href=&quot;QStyle.html#ComplexControl-enum&quot;&gt;&lt;tt&gt;CC_ToolButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;6&quot;&gt;&lt;a href=&quot;QStyleOptionToolButton.html&quot;&gt;&lt;tt&gt;QStyleOptionToolButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_DownArrow&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button is down (i.e&amp;#x2e;, a mouse button or the space bar is pressed).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_On&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button is a toggle button and is toggled on.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_AutoRaise&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button has auto-raise enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Raised&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is not down, not on, and doesn't contain the mouse when auto-raise is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ComplexControl-enum&quot;&gt;&lt;tt&gt;CC_TitleBar&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionTitleBar.html&quot;&gt;&lt;tt&gt;QStyleOptionTitleBar&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the title bar is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ComplexControl-enum&quot;&gt;&lt;tt&gt;CC_Q3ListView&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;QStyleOptionQ3ListView&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the list view is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QMotifStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawPrimitive&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QMotifStyle.html#drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawControl&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl cc, com.trolltech.qt.gui.QStyleOptionComplex opt, com.trolltech.qt.gui.QPainter p)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawComplexControl&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;cc&lt;/tt&gt;, &lt;tt&gt;opt&lt;/tt&gt;, &lt;tt&gt;p&lt;/tt&gt;, 0). */"/>
    <method name="public void drawControl(com.trolltech.qt.gui.QStyle.ControlElement element, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QPainter p, com.trolltech.qt.gui.QWidget w)" doc="/**
&lt;p&gt;Draws the given &lt;tt&gt;element&lt;/tt&gt; with the provided &lt;tt&gt;p&lt;/tt&gt; with the style options specified by &lt;tt&gt;opt&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;w&lt;/tt&gt; argument is optional and can be used as aid in drawing the control. The &lt;tt&gt;opt&lt;/tt&gt; parameter is a pointer to a &lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; object that can be cast to the correct subclass using the qstyleoption_cast() function.&lt;/p&gt;
&lt;p&gt;The table below is listing the control elements and their associated style option subclass. The style options contain all the parameters required to draw the controls, including QStyleOption::state which holds the style flags that are used when drawing. The table also describes which flags that are set when casting the given option to the appropriate subclass.&lt;/p&gt;
&lt;p&gt;Note that if a control element is not listed here, it is because it uses a plain &lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; object.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Control Element&lt;/th&gt;&lt;th&gt;&lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; Subclass&lt;/th&gt;&lt;th&gt;Style Flag&lt;/th&gt;&lt;th&gt;Remark&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;5&quot;&gt;&lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_MenuItem&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_MenuBarItem&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;5&quot;&gt;&lt;a href=&quot;QStyleOptionMenuItem.html&quot;&gt;&lt;tt&gt;QStyleOptionMenuItem&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Selected&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The menu item is currently selected item.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The item is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_DownArrow&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that a scroll down arrow should be drawn.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_UpArrow&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that a scroll up arrow should be drawn&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the menu bar has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td rowspan=&quot;5&quot;&gt;&lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_PushButton&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_PushButtonBevel&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_PushButtonLabel&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;5&quot;&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Raised&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is not down, not on and not flat.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_On&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is a toggle button and is toggled on.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Sunken&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is down (i.e&amp;#x2e;, the mouse button or the space bar is pressed on the button).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;6&quot;&gt;&lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_RadioButton&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_RadioButtonLabel&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_CheckBox&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_CheckBoxLabel&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;6&quot;&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_On&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is checked.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Off&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is not checked.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_NoChange&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is in the NoChange state.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Sunken&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is down (i.e&amp;#x2e;, the mouse button or the space bar is pressed on the button).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_ProgressBarContents&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_ProgressBarLabel&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_ProgressBarGroove&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyleOptionProgressBar.html&quot;&gt;&lt;tt&gt;QStyleOptionProgressBar&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the progress bar is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the progress bar has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_Header&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_HeaderSection&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_HeaderLabel&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionHeader.html&quot;&gt;&lt;tt&gt;QStyleOptionHeader&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td rowspan=&quot;7&quot;&gt;&lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_ToolButtonLabel&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;7&quot;&gt;&lt;a href=&quot;QStyleOptionToolButton.html&quot;&gt;&lt;tt&gt;QStyleOptionToolButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_HasFocus&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button has input focus.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Sunken&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button is down (i.e&amp;#x2e;, a mouse button or the space bar is pressed).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_On&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button is a toggle button and is toggled on.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_AutoRaise&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the tool button has auto-raise enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_MouseOver&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the mouse pointer is over the tool button.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Raised&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Set if the button is not down and is not on.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_ToolBoxTab&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionToolBox.html&quot;&gt;&lt;tt&gt;QStyleOptionToolBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Selected&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The tab is the currently selected tab.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td rowspan=&quot;3&quot;&gt;&lt;a href=&quot;QStyle.html#ControlElement-enum&quot;&gt;&lt;tt&gt;CE_HeaderSection&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;3&quot;&gt;&lt;a href=&quot;QStyleOptionHeader.html&quot;&gt;&lt;tt&gt;QStyleOptionHeader&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Sunken&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the section is pressed.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_UpArrow&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the sort indicator should be pointing up.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_DownArrow&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the sort indicator should be pointing down.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QMotifStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawPrimitive&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QMotifStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawComplexControl&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void drawControl(com.trolltech.qt.gui.QStyle.ControlElement element, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QPainter p)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawControl&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;element&lt;/tt&gt;, &lt;tt&gt;opt&lt;/tt&gt;, &lt;tt&gt;p&lt;/tt&gt;, 0). */"/>
    <method name="public void drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement pe, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QPainter p, com.trolltech.qt.gui.QWidget w)" doc="/**
&lt;p&gt;Draws the given primitive &lt;tt&gt;pe&lt;/tt&gt; with the provided &lt;tt&gt;p&lt;/tt&gt; using the style options specified by &lt;tt&gt;opt&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;w&lt;/tt&gt; argument is optional and may contain a widget that may aid in drawing the primitive element.&lt;/p&gt;
&lt;p&gt;The table below is listing the primitive elements and their associated style option subclasses. The style options contain all the parameters required to draw the elements, including QStyleOption::state which holds the style flags that are used when drawing. The table also describes which flags that are set when casting the given option to the appropriate subclass.&lt;/p&gt;
&lt;p&gt;Note that if a primitive element is not listed here, it is because it uses a plain &lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; object.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Primitive Element&lt;/th&gt;&lt;th&gt;&lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; Subclass&lt;/th&gt;&lt;th&gt;Style Flag&lt;/th&gt;&lt;th&gt;Remark&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_FrameFocusRect&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionFocusRect.html&quot;&gt;&lt;tt&gt;QStyleOptionFocusRect&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_FocusAtBorder&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Whether the focus is is at the border or inside the widget.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_IndicatorCheckBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot;&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_NoChange&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates a &amp;quot;tri-state&amp;quot; checkbox.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_On&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates the indicator is checked.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_IndicatorRadioButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_On&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that a radio button is selected.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td rowspan=&quot;3&quot;&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_Q3CheckListExclusiveIndicator&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_Q3CheckListIndicator&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;3&quot;&gt;&lt;tt&gt;QStyleOptionQ3ListView&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_On&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates whether or not the controller is selected.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_NoChange&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates a &amp;quot;tri-state&amp;quot; controller.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Enabled&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates the controller is enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td rowspan=&quot;4&quot;&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_IndicatorBranch&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan=&quot;4&quot;&gt;&lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Children&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the control for expanding the tree to show child items, should be drawn.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Item&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that a horizontal branch (to show a child item), should be drawn.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Open&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the tree branch is expanded.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Sibling&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that a vertical line (to show a sibling item), should be drawn.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_IndicatorHeaderArrow&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionHeader.html&quot;&gt;&lt;tt&gt;QStyleOptionHeader&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_UpArrow&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the arrow should be drawn up; otherwise it should be down.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_FrameGroupBox&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_Frame&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_FrameLineEdit&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_FrameMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_FrameDockWidget&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionFrame.html&quot;&gt;&lt;tt&gt;QStyleOptionFrame&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Sunken&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the Frame should be sunken.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_IndicatorToolBarHandle&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Horizontal&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the window handle is horizontal instead of vertical.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_Q3DockWindowSeparator&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Horizontal&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the separator is horizontal instead of vertical.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_IndicatorSpinPlus&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_IndicatorSpinMinus&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_IndicatorSpinUp&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#PrimitiveElement-enum&quot;&gt;&lt;tt&gt;PE_IndicatorSpinDown&lt;/tt&gt;&lt;/a&gt;,&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionSpinBox.html&quot;&gt;&lt;tt&gt;QStyleOptionSpinBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#StateFlag-enum&quot;&gt;&lt;tt&gt;State_Sunken&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Indicates that the button is pressed.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QMotifStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawComplexControl&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QMotifStyle.html#drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawControl&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement pe, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QPainter p)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawPrimitive&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;pe&lt;/tt&gt;, &lt;tt&gt;opt&lt;/tt&gt;, &lt;tt&gt;p&lt;/tt&gt;, 0). */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean eventFilter(com.trolltech.qt.core.QObject o, com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric metric, com.trolltech.qt.gui.QStyleOption option, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Returns the value of the given pixel &lt;tt&gt;metric&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The specified &lt;tt&gt;option&lt;/tt&gt; and &lt;tt&gt;widget&lt;/tt&gt; can be used for calculating the metric. In general, the &lt;tt&gt;widget&lt;/tt&gt; argument is not used. The &lt;tt&gt;option&lt;/tt&gt; can be cast to the appropriate type using the qstyleoption_cast() function. Note that the &lt;tt&gt;option&lt;/tt&gt; may be zero even for PixelMetrics that can make use of it. See the table below for the appropriate &lt;tt&gt;option&lt;/tt&gt; casts:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Pixel Metric&lt;/th&gt;&lt;th&gt;&lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; Subclass&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_SliderControlThickness&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionSlider.html&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_SliderLength&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionSlider.html&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_SliderTickmarkOffset&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionSlider.html&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_SliderSpaceAvailable&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionSlider.html&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_ScrollBarExtent&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionSlider.html&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_TabBarTabOverlap&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionTab.html&quot;&gt;&lt;tt&gt;QStyleOptionTab&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_TabBarTabHSpace&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionTab.html&quot;&gt;&lt;tt&gt;QStyleOptionTab&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_TabBarTabVSpace&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionTab.html&quot;&gt;&lt;tt&gt;QStyleOptionTab&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_TabBarBaseHeight&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionTab.html&quot;&gt;&lt;tt&gt;QStyleOptionTab&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#PixelMetric-enum&quot;&gt;&lt;tt&gt;PM_TabBarBaseOverlap&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionTab.html&quot;&gt;&lt;tt&gt;QStyleOptionTab&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;Some pixel metrics are called from widgets and some are only called internally by the style. If the metric is not called by a widget, it is the discretion of the style author to make use of it. For some styles, this may not be appropriate.&lt;/p&gt;
 */"/>
    <method name="public final int pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric metric, com.trolltech.qt.gui.QStyleOption option)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;pixelMetric&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;metric&lt;/tt&gt;, &lt;tt&gt;option&lt;/tt&gt;, 0). */"/>
    <method name="public final int pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric metric)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;pixelMetric&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;metric&lt;/tt&gt;, 0, 0). */"/>
    <method name="public void polish(com.trolltech.qt.gui.QWidget arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void polish(com.trolltech.qt.gui.QPalette arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void polish(com.trolltech.qt.gui.QApplication arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType ct, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.core.QSize contentsSize, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Returns the size of the element described by the specified &lt;tt&gt;opt&lt;/tt&gt; and &lt;tt&gt;ct&lt;/tt&gt;, based on the provided &lt;tt&gt;contentsSize&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;opt&lt;/tt&gt; argument is a pointer to a &lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; or one of its subclasses. The &lt;tt&gt;opt&lt;/tt&gt; can be cast to the appropriate type using the qstyleoption_cast() function. The &lt;tt&gt;widget&lt;/tt&gt; is an optional argument and can contain extra information used for calculating the size.&lt;/p&gt;
&lt;p&gt;See the table below for the appropriate &lt;tt&gt;opt&lt;/tt&gt; casts:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Contents Type&lt;/th&gt;&lt;th&gt;&lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; Subclass&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;CT_PushButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;CT_CheckBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;CT_RadioButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;CT_ToolButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionToolButton.html&quot;&gt;&lt;tt&gt;QStyleOptionToolButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;CT_ComboBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionComboBox.html&quot;&gt;&lt;tt&gt;QStyleOptionComboBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;CT_Splitter&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;CT_Q3DockWindow&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;QStyleOptionQ3DockWindow&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;CT_ProgressBar&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionProgressBar.html&quot;&gt;&lt;tt&gt;QStyleOptionProgressBar&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;CT_MenuItem&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionMenuItem.html&quot;&gt;&lt;tt&gt;QStyleOptionMenuItem&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QStyle.html#ContentsType-enum&quot;&gt;&lt;tt&gt;ContentsType&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QSize sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType ct, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.core.QSize contentsSize)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.core.QSize, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;sizeFromContents&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;ct&lt;/tt&gt;, &lt;tt&gt;opt&lt;/tt&gt;, &lt;tt&gt;contentsSize&lt;/tt&gt;, 0). */"/>
    <method name="public com.trolltech.qt.gui.QPalette standardPalette()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int styleHint(com.trolltech.qt.gui.QStyle.StyleHint hint, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QWidget widget, com.trolltech.qt.gui.QStyleHintReturn returnData)" doc="/**
&lt;p&gt;Returns an integer representing the specified style &lt;tt&gt;hint&lt;/tt&gt; for the given &lt;tt&gt;widget&lt;/tt&gt; described by the provided style &lt;tt&gt;opt&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note that currently, the &lt;tt&gt;returnData&lt;/tt&gt; and &lt;tt&gt;widget&lt;/tt&gt; parameters are not used; they are provided for future enhancement. In addition, the &lt;tt&gt;opt&lt;/tt&gt; parameter is used only in case of the &lt;a href=&quot;QStyle.html#StyleHint-enum&quot;&gt;&lt;tt&gt;SH_ComboBox_Popup&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QStyle.html#StyleHint-enum&quot;&gt;&lt;tt&gt;SH_ComboBox_LayoutDirection&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QStyle.html#StyleHint-enum&quot;&gt;&lt;tt&gt;SH_GroupBox_TextLabelColor&lt;/tt&gt;&lt;/a&gt; style hints.&lt;/p&gt;
 */"/>
    <method name="public final int styleHint(com.trolltech.qt.gui.QStyle.StyleHint hint, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleHintReturn)&quot;&gt;&lt;tt&gt;styleHint&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;hint&lt;/tt&gt;, &lt;tt&gt;opt&lt;/tt&gt;, &lt;tt&gt;widget&lt;/tt&gt;, 0). */"/>
    <method name="public final int styleHint(com.trolltech.qt.gui.QStyle.StyleHint hint, com.trolltech.qt.gui.QStyleOption opt)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleHintReturn)&quot;&gt;&lt;tt&gt;styleHint&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;hint&lt;/tt&gt;, &lt;tt&gt;opt&lt;/tt&gt;, 0, 0). */"/>
    <method name="public final int styleHint(com.trolltech.qt.gui.QStyle.StyleHint hint)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleHintReturn)&quot;&gt;&lt;tt&gt;styleHint&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;hint&lt;/tt&gt;, 0, 0, 0). */"/>
    <method name="public com.trolltech.qt.core.QRect subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl cc, com.trolltech.qt.gui.QStyleOptionComplex opt, int sc, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Returns the rectangle containing the specified &lt;tt&gt;sc&lt;/tt&gt; of the given complex &lt;tt&gt;cc&lt;/tt&gt; (with the style specified by &lt;tt&gt;opt&lt;/tt&gt;). The rectangle is defined in screen coordinates.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;opt&lt;/tt&gt; argument is a pointer to &lt;a href=&quot;QStyleOptionComplex.html&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt; or one of its subclasses, and can be cast to the appropriate type using the qstyleoption_cast() function. See &lt;a href=&quot;QMotifStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawComplexControl&lt;/tt&gt;&lt;/a&gt; for details. The &lt;tt&gt;widget&lt;/tt&gt; is optional and can contain additional information for the function.&lt;/p&gt;

@see &lt;a href=&quot;QMotifStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;drawComplexControl&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRect subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl cc, com.trolltech.qt.gui.QStyleOptionComplex opt, int sc)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;subControlRect&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;cc&lt;/tt&gt;, &lt;tt&gt;opt&lt;/tt&gt;, &lt;tt&gt;sc&lt;/tt&gt;, 0). */"/>
    <method name="public com.trolltech.qt.core.QRect subElementRect(com.trolltech.qt.gui.QStyle.SubElement r, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Returns the sub-area for the given &lt;tt&gt;r&lt;/tt&gt; as described in the provided style &lt;tt&gt;opt&lt;/tt&gt;. The returned rectangle is defined in screen coordinates.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;widget&lt;/tt&gt; argument is optional and can be used to aid determining the area. The &lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; object can be cast to the appropriate type using the qstyleoption_cast() function. See the table below for the appropriate &lt;tt&gt;opt&lt;/tt&gt; casts:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Sub Element&lt;/th&gt;&lt;th&gt;&lt;a href=&quot;QStyleOption.html&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; Subclass&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_PushButtonContents&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_PushButtonFocusRect&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_CheckBoxIndicator&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_CheckBoxContents&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_CheckBoxFocusRect&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_RadioButtonIndicator&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_RadioButtonContents&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_RadioButtonFocusRect&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_ComboBoxFocusRect&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionComboBox.html&quot;&gt;&lt;tt&gt;QStyleOptionComboBox&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_Q3DockWindowHandleRect&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;QStyleOptionQ3DockWindow&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_ProgressBarGroove&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionProgressBar.html&quot;&gt;&lt;tt&gt;QStyleOptionProgressBar&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_ProgressBarContents&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionProgressBar.html&quot;&gt;&lt;tt&gt;QStyleOptionProgressBar&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QStyle.html#SubElement-enum&quot;&gt;&lt;tt&gt;SE_ProgressBarLabel&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QStyleOptionProgressBar.html&quot;&gt;&lt;tt&gt;QStyleOptionProgressBar&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRect subElementRect(com.trolltech.qt.gui.QStyle.SubElement r, com.trolltech.qt.gui.QStyleOption opt)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMotifStyle.html#subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;subElementRect&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;r&lt;/tt&gt;, &lt;tt&gt;opt&lt;/tt&gt;, 0). */"/>
    <method name="protected void timerEvent(com.trolltech.qt.core.QTimerEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void unpolish(com.trolltech.qt.gui.QWidget arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void unpolish(com.trolltech.qt.gui.QApplication arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
</class>