<class name="QPlastiqueStyle" doc="/** <p>The <a href="QPlastiqueStyle.html#QPlastiqueStyle()"><tt>QPlastiqueStyle</tt></a> class provides a widget style similar to the Plastik style available in KDE.</p> <p>The Plastique style provides a default look and feel for widgets on X11 that closely resembles the Plastik style, introduced by Sandro Giessl in KDE 3.2&#x2e;</p> <p align="center"><img src="%2E%2E/images/qplastiquestyle.png" /></p> @see <tt>QWindowsXPStyle</tt> @see <tt>QMacStyle</tt> @see <a href="QWindowsStyle.html#QWindowsStyle()"><tt>QWindowsStyle</tt></a> @see <a href="QCDEStyle.html"><tt>QCDEStyle</tt></a> @see <a href="QMotifStyle.html"><tt>QMotifStyle</tt></a> */"> <method name="public QPlastiqueStyle()" doc="/** <p>Constructs a <a href="QPlastiqueStyle.html#QPlastiqueStyle()"><tt>QPlastiqueStyle</tt></a> object.</p> */"/> <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="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> */"/> <method name="protected final com.trolltech.qt.gui.QIcon standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap standardIcon, com.trolltech.qt.gui.QStyleOption opt)" doc="/** <p>Equivalent to <a href="QPlastiqueStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIconImplementation</tt></a>(<tt>standardIcon</tt>, <tt>opt</tt>, 0). */"/> <method name="protected final com.trolltech.qt.gui.QIcon standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap standardIcon)" doc="/** <p>Equivalent to <a href="QPlastiqueStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIconImplementation</tt></a>(<tt>standardIcon</tt>, 0, 0). */"/> <method name="public void drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl control, com.trolltech.qt.gui.QStyleOptionComplex option, com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.gui.QWidget widget)" doc="/** <p>Draws the given <tt>control</tt> using the provided <tt>painter</tt> with the style options specified by <tt>option</tt>.</p> <p>The <tt>widget</tt> argument is optional and can be used as aid in drawing the control.</p> <p>The <tt>option</tt> parameter is a pointer to a <a href="QStyleOptionComplex.html"><tt>QStyleOptionComplex</tt></a> object that can be cast to the correct subclass using the qstyleoption_cast() function. Note that the <tt>rect</tt> member of the specified <tt>option</tt> must be in logical coordinates. Reimplementations of this function should use <a href="QStyle.html#visualRect(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.QRect, com.trolltech.qt.core.QRect)"><tt>visualRect</tt></a> to change the logical coordinates into screen coordinates before calling the <a href="QPlastiqueStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawPrimitive</tt></a> or <a href="QPlastiqueStyle.html#drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawControl</tt></a> function.</p> <p>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</tt> that are used when drawing. The table also describes which flags that are set when casting the given <tt>option</tt> to the appropriate subclass.</p> <p><table align="center" cellpadding="2" cellspacing="1" border="0"> <thead><tr valign="top" class="qt-style"><th>Complex Control</th><th><a href="QStyleOptionComplex.html"><tt>QStyleOptionComplex</tt></a> Subclass</th><th>Style Flag</th><th>Remark</th></tr></thead> <tr valign="top" class="odd"><td rowspan="2"><a href="QStyle.html#ComplexControl-enum"><tt>CC_SpinBox</tt></a></td><td rowspan="2"><a href="QStyleOptionSpinBox.html"><tt>QStyleOptionSpinBox</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the spin box is enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the spin box has input focus.</td></tr> <tr valign="top" class="odd"><td rowspan="2"><a href="QStyle.html#ComplexControl-enum"><tt>CC_ComboBox</tt></a></td><td rowspan="2"><a href="QStyleOptionComboBox.html"><tt>QStyleOptionComboBox</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the combobox is enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the combobox has input focus.</td></tr> <tr valign="top" class="odd"><td rowspan="2"><a href="QStyle.html#ComplexControl-enum"><tt>CC_ScrollBar</tt></a></td><td rowspan="2"><a href="QStyleOptionSlider.html"><tt>QStyleOptionSlider</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the scroll bar is enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the scroll bar has input focus.</td></tr> <tr valign="top" class="odd"><td rowspan="2"><a href="QStyle.html#ComplexControl-enum"><tt>CC_Slider</tt></a></td><td rowspan="2"><a href="QStyleOptionSlider.html"><tt>QStyleOptionSlider</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the slider is enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the slider has input focus.</td></tr> <tr valign="top" class="odd"><td rowspan="2"><a href="QStyle.html#ComplexControl-enum"><tt>CC_Dial</tt></a></td><td rowspan="2"><a href="QStyleOptionSlider.html"><tt>QStyleOptionSlider</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the dial is enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the dial has input focus.</td></tr> <tr valign="top" class="odd"><td rowspan="6"><a href="QStyle.html#ComplexControl-enum"><tt>CC_ToolButton</tt></a></td><td rowspan="6"><a href="QStyleOptionToolButton.html"><tt>QStyleOptionToolButton</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the tool button is enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the tool button has input focus.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_DownArrow</tt></a></td><td>Set if the tool button is down (i.e&#x2e;, a mouse button or the space bar is pressed).</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_On</tt></a></td><td>Set if the tool button is a toggle button and is toggled on.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_AutoRaise</tt></a></td><td>Set if the tool button has auto-raise enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Raised</tt></a></td><td>Set if the button is not down, not on, and doesn't contain the mouse when auto-raise is enabled.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#ComplexControl-enum"><tt>CC_TitleBar</tt></a></td><td><a href="QStyleOptionTitleBar.html"><tt>QStyleOptionTitleBar</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the title bar is enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#ComplexControl-enum"><tt>CC_Q3ListView</tt></a></td><td><tt>QStyleOptionQ3ListView</tt></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the list view is enabled.</td></tr> </table></p> @see <a href="QPlastiqueStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawPrimitive</tt></a> @see <a href="QPlastiqueStyle.html#drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawControl</tt></a> */"/> <method name="public void drawControl(com.trolltech.qt.gui.QStyle.ControlElement element, com.trolltech.qt.gui.QStyleOption option, com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.gui.QWidget widget)" doc="/** <p>Draws the given <tt>element</tt> with the provided <tt>painter</tt> with the style options specified by <tt>option</tt>.</p> <p>The <tt>widget</tt> argument is optional and can be used as aid in drawing the control. The <tt>option</tt> parameter is a pointer to a <a href="QStyleOption.html"><tt>QStyleOption</tt></a> object that can be cast to the correct subclass using the qstyleoption_cast() function.</p> <p>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.</p> <p>Note that if a control element is not listed here, it is because it uses a plain <a href="QStyleOption.html"><tt>QStyleOption</tt></a> object.</p> <p><table align="center" cellpadding="2" cellspacing="1" border="0"> <thead><tr valign="top" class="qt-style"><th>Control Element</th><th><a href="QStyleOption.html"><tt>QStyleOption</tt></a> Subclass</th><th>Style Flag</th><th>Remark</th></tr></thead> <tr valign="top" class="odd"><td rowspan="5"><a href="QStyle.html#ControlElement-enum"><tt>CE_MenuItem</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_MenuBarItem</tt></a></td><td rowspan="5"><a href="QStyleOptionMenuItem.html"><tt>QStyleOptionMenuItem</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Selected</tt></a></td><td>The menu item is currently selected item.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>The item is enabled.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_DownArrow</tt></a></td><td>Indicates that a scroll down arrow should be drawn.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_UpArrow</tt></a></td><td>Indicates that a scroll up arrow should be drawn</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the menu bar has input focus.</td></tr> <tr valign="top" class="even"><td rowspan="5"><a href="QStyle.html#ControlElement-enum"><tt>CE_PushButton</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_PushButtonBevel</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_PushButtonLabel</tt></a></td><td rowspan="5"><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the button is enabled.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the button has input focus.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Raised</tt></a></td><td>Set if the button is not down, not on and not flat.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_On</tt></a></td><td>Set if the button is a toggle button and is toggled on.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Sunken</tt></a></td><td>Set if the button is down (i.e&#x2e;, the mouse button or the space bar is pressed on the button).</td></tr> <tr valign="top" class="odd"><td rowspan="6"><a href="QStyle.html#ControlElement-enum"><tt>CE_RadioButton</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_RadioButtonLabel</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_CheckBox</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_CheckBoxLabel</tt></a></td><td rowspan="6"><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the button is enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the button has input focus.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_On</tt></a></td><td>Set if the button is checked.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Off</tt></a></td><td>Set if the button is not checked.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_NoChange</tt></a></td><td>Set if the button is in the NoChange state.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Sunken</tt></a></td><td>Set if the button is down (i.e&#x2e;, the mouse button or the space bar is pressed on the button).</td></tr> <tr valign="top" class="odd"><td rowspan="2"><a href="QStyle.html#ControlElement-enum"><tt>CE_ProgressBarContents</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_ProgressBarLabel</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_ProgressBarGroove</tt></a></td><td rowspan="2"><a href="QStyleOptionProgressBar.html"><tt>QStyleOptionProgressBar</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the progress bar is enabled.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the progress bar has input focus.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#ControlElement-enum"><tt>CE_Header</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_HeaderSection</tt></a>, <a href="QStyle.html#ControlElement-enum"><tt>CE_HeaderLabel</tt></a></td><td><a href="QStyleOptionHeader.html"><tt>QStyleOptionHeader</tt></a></td><td></td><td></td></tr> <tr valign="top" class="even"><td rowspan="7"><a href="QStyle.html#ControlElement-enum"><tt>CE_ToolButtonLabel</tt></a></td><td rowspan="7"><a href="QStyleOptionToolButton.html"><tt>QStyleOptionToolButton</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Set if the tool button is enabled.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_HasFocus</tt></a></td><td>Set if the tool button has input focus.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Sunken</tt></a></td><td>Set if the tool button is down (i.e&#x2e;, a mouse button or the space bar is pressed).</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_On</tt></a></td><td>Set if the tool button is a toggle button and is toggled on.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_AutoRaise</tt></a></td><td>Set if the tool button has auto-raise enabled.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_MouseOver</tt></a></td><td>Set if the mouse pointer is over the tool button.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Raised</tt></a></td><td>Set if the button is not down and is not on.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#ControlElement-enum"><tt>CE_ToolBoxTab</tt></a></td><td><a href="QStyleOptionToolBox.html"><tt>QStyleOptionToolBox</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Selected</tt></a></td><td>The tab is the currently selected tab.</td></tr> <tr valign="top" class="even"><td rowspan="3"><a href="QStyle.html#ControlElement-enum"><tt>CE_HeaderSection</tt></a></td><td rowspan="3"><a href="QStyleOptionHeader.html"><tt>QStyleOptionHeader</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Sunken</tt></a></td><td>Indicates that the section is pressed.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_UpArrow</tt></a></td><td>Indicates that the sort indicator should be pointing up.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_DownArrow</tt></a></td><td>Indicates that the sort indicator should be pointing down.</td></tr> </table></p> @see <a href="QPlastiqueStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawPrimitive</tt></a> @see <a href="QPlastiqueStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a> */"/> <method name="public void drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement element, com.trolltech.qt.gui.QStyleOption option, com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.gui.QWidget widget)" doc="/** <p>Draws the given primitive <tt>element</tt> with the provided <tt>painter</tt> using the style options specified by <tt>option</tt>.</p> <p>The <tt>widget</tt> argument is optional and may contain a widget that may aid in drawing the primitive element.</p> <p>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.</p> <p>Note that if a primitive element is not listed here, it is because it uses a plain <a href="QStyleOption.html"><tt>QStyleOption</tt></a> object.</p> <p><table align="center" cellpadding="2" cellspacing="1" border="0"> <thead><tr valign="top" class="qt-style"><th>Primitive Element</th><th><a href="QStyleOption.html"><tt>QStyleOption</tt></a> Subclass</th><th>Style Flag</th><th>Remark</th></tr></thead> <tr valign="top" class="odd"><td><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_FrameFocusRect</tt></a></td><td><a href="QStyleOptionFocusRect.html"><tt>QStyleOptionFocusRect</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_FocusAtBorder</tt></a></td><td>Whether the focus is is at the border or inside the widget.</td></tr> <tr valign="top" class="even"><td rowspan="2"><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorCheckBox</tt></a></td><td rowspan="2"><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_NoChange</tt></a></td><td>Indicates a &quot;tri-state&quot; checkbox.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_On</tt></a></td><td>Indicates the indicator is checked.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorRadioButton</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_On</tt></a></td><td>Indicates that a radio button is selected.</td></tr> <tr valign="top" class="odd"><td rowspan="3"><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_Q3CheckListExclusiveIndicator</tt></a>, <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_Q3CheckListIndicator</tt></a></td><td rowspan="3"><tt>QStyleOptionQ3ListView</tt></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_On</tt></a></td><td>Indicates whether or not the controller is selected.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_NoChange</tt></a></td><td>Indicates a &quot;tri-state&quot; controller.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Enabled</tt></a></td><td>Indicates the controller is enabled.</td></tr> <tr valign="top" class="even"><td rowspan="4"><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorBranch</tt></a></td><td rowspan="4"><a href="QStyleOption.html"><tt>QStyleOption</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Children</tt></a></td><td>Indicates that the control for expanding the tree to show child items, should be drawn.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Item</tt></a></td><td>Indicates that a horizontal branch (to show a child item), should be drawn.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Open</tt></a></td><td>Indicates that the tree branch is expanded.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#StateFlag-enum"><tt>State_Sibling</tt></a></td><td>Indicates that a vertical line (to show a sibling item), should be drawn.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorHeaderArrow</tt></a></td><td><a href="QStyleOptionHeader.html"><tt>QStyleOptionHeader</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_UpArrow</tt></a></td><td>Indicates that the arrow should be drawn up; otherwise it should be down.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_FrameGroupBox</tt></a>, <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_Frame</tt></a>, <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_FrameLineEdit</tt></a>, <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_FrameMenu</tt></a>, <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_FrameDockWidget</tt></a></td><td><a href="QStyleOptionFrame.html"><tt>QStyleOptionFrame</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Sunken</tt></a></td><td>Indicates that the Frame should be sunken.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorToolBarHandle</tt></a></td><td><a href="QStyleOption.html"><tt>QStyleOption</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Horizontal</tt></a></td><td>Indicates that the window handle is horizontal instead of vertical.</td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_Q3DockWindowSeparator</tt></a></td><td><a href="QStyleOption.html"><tt>QStyleOption</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Horizontal</tt></a></td><td>Indicates that the separator is horizontal instead of vertical.</td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorSpinPlus</tt></a>, <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorSpinMinus</tt></a>, <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorSpinUp</tt></a>, <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorSpinDown</tt></a>,</td><td><a href="QStyleOptionSpinBox.html"><tt>QStyleOptionSpinBox</tt></a></td><td><a href="QStyle.html#StateFlag-enum"><tt>State_Sunken</tt></a></td><td>Indicates that the button is pressed.</td></tr> </table></p> @see <a href="QPlastiqueStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a> @see <a href="QPlastiqueStyle.html#drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawControl</tt></a> */"/> <method name="public final void drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement element, com.trolltech.qt.gui.QStyleOption option, com.trolltech.qt.gui.QPainter painter)" doc="/** <p>Equivalent to <a href="QPlastiqueStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawPrimitive</tt></a>(<tt>element</tt>, <tt>option</tt>, <tt>painter</tt>, 0). */"/> <method name="public boolean eventFilter(com.trolltech.qt.core.QObject watched, com.trolltech.qt.core.QEvent event)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public int hitTestComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl control, com.trolltech.qt.gui.QStyleOptionComplex option, com.trolltech.qt.core.QPoint pos, com.trolltech.qt.gui.QWidget widget)" doc="/** <p>Returns the sub control at the given <tt>pos</tt> in the given complex <tt>control</tt> (with the style options specified by <tt>option</tt>).</p> <p>Note that the <tt>pos</tt> is expressed in screen coordinates.</p> <p>The <tt>option</tt> argument is a pointer to a <a href="QStyleOptionComplex.html"><tt>QStyleOptionComplex</tt></a> object (or one of its subclasses). The object can be cast to the appropriate type using the qstyleoption_cast() function. See <a href="QPlastiqueStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a> for details. The <tt>widget</tt> argument is optional and can contain additional information for the function.</p> @see <a href="QPlastiqueStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a> @see <a href="QPlastiqueStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)"><tt>subControlRect</tt></a> */"/> <method name="public final int hitTestComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl control, com.trolltech.qt.gui.QStyleOptionComplex option, com.trolltech.qt.core.QPoint pos)" doc="/** <p>Equivalent to <a href="QPlastiqueStyle.html#hitTestComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QWidget)"><tt>hitTestComplexControl</tt></a>(<tt>control</tt>, <tt>option</tt>, <tt>pos</tt>, 0). */"/> <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="/** <p>Returns the value of the given pixel <tt>metric</tt>.</p> <p>The specified <tt>option</tt> and <tt>widget</tt> can be used for calculating the metric. In general, the <tt>widget</tt> argument is not used. The <tt>option</tt> can be cast to the appropriate type using the qstyleoption_cast() function. Note that the <tt>option</tt> may be zero even for PixelMetrics that can make use of it. See the table below for the appropriate <tt>option</tt> casts:</p> <p><table align="center" cellpadding="2" cellspacing="1" border="0"> <thead><tr valign="top" class="qt-style"><th>Pixel Metric</th><th><a href="QStyleOption.html"><tt>QStyleOption</tt></a> Subclass</th></tr></thead> <tr valign="top" class="odd"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_SliderControlThickness</tt></a></td><td><a href="QStyleOptionSlider.html"><tt>QStyleOptionSlider</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_SliderLength</tt></a></td><td><a href="QStyleOptionSlider.html"><tt>QStyleOptionSlider</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_SliderTickmarkOffset</tt></a></td><td><a href="QStyleOptionSlider.html"><tt>QStyleOptionSlider</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_SliderSpaceAvailable</tt></a></td><td><a href="QStyleOptionSlider.html"><tt>QStyleOptionSlider</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_ScrollBarExtent</tt></a></td><td><a href="QStyleOptionSlider.html"><tt>QStyleOptionSlider</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_TabBarTabOverlap</tt></a></td><td><a href="QStyleOptionTab.html"><tt>QStyleOptionTab</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_TabBarTabHSpace</tt></a></td><td><a href="QStyleOptionTab.html"><tt>QStyleOptionTab</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_TabBarTabVSpace</tt></a></td><td><a href="QStyleOptionTab.html"><tt>QStyleOptionTab</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_TabBarBaseHeight</tt></a></td><td><a href="QStyleOptionTab.html"><tt>QStyleOptionTab</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#PixelMetric-enum"><tt>PM_TabBarBaseOverlap</tt></a></td><td><a href="QStyleOptionTab.html"><tt>QStyleOptionTab</tt></a></td></tr> </table></p> <p>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.</p> */"/> <method name="public final int pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric metric, com.trolltech.qt.gui.QStyleOption option)" doc="/** <p>Equivalent to <a href="QPlastiqueStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>pixelMetric</tt></a>(<tt>metric</tt>, <tt>option</tt>, 0). */"/> <method name="public final int pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric metric)" doc="/** <p>Equivalent to <a href="QPlastiqueStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>pixelMetric</tt></a>(<tt>metric</tt>, 0, 0). */"/> <method name="public void polish(com.trolltech.qt.gui.QPalette pal)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public void polish(com.trolltech.qt.gui.QApplication app)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public void polish(com.trolltech.qt.gui.QWidget widget)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public com.trolltech.qt.core.QSize sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType type, com.trolltech.qt.gui.QStyleOption option, com.trolltech.qt.core.QSize size, com.trolltech.qt.gui.QWidget widget)" doc="/** <p>Returns the size of the element described by the specified <tt>option</tt> and <tt>type</tt>, based on the provided <tt>size</tt>.</p> <p>The <tt>option</tt> argument is a pointer to a <a href="QStyleOption.html"><tt>QStyleOption</tt></a> or one of its subclasses. The <tt>option</tt> can be cast to the appropriate type using the qstyleoption_cast() function. The <tt>widget</tt> is an optional argument and can contain extra information used for calculating the size.</p> <p>See the table below for the appropriate <tt>option</tt> casts:</p> <p><table align="center" cellpadding="2" cellspacing="1" border="0"> <thead><tr valign="top" class="qt-style"><th>Contents Type</th><th><a href="QStyleOption.html"><tt>QStyleOption</tt></a> Subclass</th></tr></thead> <tr valign="top" class="odd"><td><a href="QStyle.html#ContentsType-enum"><tt>CT_PushButton</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#ContentsType-enum"><tt>CT_CheckBox</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#ContentsType-enum"><tt>CT_RadioButton</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#ContentsType-enum"><tt>CT_ToolButton</tt></a></td><td><a href="QStyleOptionToolButton.html"><tt>QStyleOptionToolButton</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#ContentsType-enum"><tt>CT_ComboBox</tt></a></td><td><a href="QStyleOptionComboBox.html"><tt>QStyleOptionComboBox</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#ContentsType-enum"><tt>CT_Splitter</tt></a></td><td><a href="QStyleOption.html"><tt>QStyleOption</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#ContentsType-enum"><tt>CT_Q3DockWindow</tt></a></td><td><tt>QStyleOptionQ3DockWindow</tt></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#ContentsType-enum"><tt>CT_ProgressBar</tt></a></td><td><a href="QStyleOptionProgressBar.html"><tt>QStyleOptionProgressBar</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#ContentsType-enum"><tt>CT_MenuItem</tt></a></td><td><a href="QStyleOptionMenuItem.html"><tt>QStyleOptionMenuItem</tt></a></td></tr> </table></p> @see <a href="QStyle.html#ContentsType-enum"><tt>ContentsType</tt></a> @see <a href="QStyleOption.html"><tt>QStyleOption</tt></a> */"/> <method name="public com.trolltech.qt.gui.QPalette standardPalette()" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public int styleHint(com.trolltech.qt.gui.QStyle.StyleHint hint, com.trolltech.qt.gui.QStyleOption option, com.trolltech.qt.gui.QWidget widget, com.trolltech.qt.gui.QStyleHintReturn returnData)" doc="/** <p>Returns an integer representing the specified style <tt>hint</tt> for the given <tt>widget</tt> described by the provided style <tt>option</tt>.</p> <p>Note that currently, the <tt>returnData</tt> and <tt>widget</tt> parameters are not used; they are provided for future enhancement. In addition, the <tt>option</tt> parameter is used only in case of the <a href="QStyle.html#StyleHint-enum"><tt>SH_ComboBox_Popup</tt></a>, <a href="QStyle.html#StyleHint-enum"><tt>SH_ComboBox_LayoutDirection</tt></a>, and <a href="QStyle.html#StyleHint-enum"><tt>SH_GroupBox_TextLabelColor</tt></a> style hints.</p> */"/> <method name="public final int styleHint(com.trolltech.qt.gui.QStyle.StyleHint hint, com.trolltech.qt.gui.QStyleOption option, com.trolltech.qt.gui.QWidget widget)" doc="/** <p>Equivalent to <a href="QPlastiqueStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleHintReturn)"><tt>styleHint</tt></a>(<tt>hint</tt>, <tt>option</tt>, <tt>widget</tt>, 0). */"/> <method name="public final int styleHint(com.trolltech.qt.gui.QStyle.StyleHint hint, com.trolltech.qt.gui.QStyleOption option)" doc="/** <p>Equivalent to <a href="QPlastiqueStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleHintReturn)"><tt>styleHint</tt></a>(<tt>hint</tt>, <tt>option</tt>, 0, 0). */"/> <method name="public final int styleHint(com.trolltech.qt.gui.QStyle.StyleHint hint)" doc="/** <p>Equivalent to <a href="QPlastiqueStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleHintReturn)"><tt>styleHint</tt></a>(<tt>hint</tt>, 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="/** <p>Returns the rectangle containing the specified <tt>sc</tt> of the given complex <tt>cc</tt> (with the style specified by <tt>opt</tt>). The rectangle is defined in screen coordinates.</p> <p>The <tt>opt</tt> argument is a pointer to <a href="QStyleOptionComplex.html"><tt>QStyleOptionComplex</tt></a> or one of its subclasses, and can be cast to the appropriate type using the qstyleoption_cast() function. See <a href="QPlastiqueStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a> for details. The <tt>widget</tt> is optional and can contain additional information for the function.</p> @see <a href="QPlastiqueStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a> */"/> <method name="public com.trolltech.qt.core.QRect subElementRect(com.trolltech.qt.gui.QStyle.SubElement element, com.trolltech.qt.gui.QStyleOption option, com.trolltech.qt.gui.QWidget widget)" doc="/** <p>Returns the sub-area for the given <tt>element</tt> as described in the provided style <tt>option</tt>. The returned rectangle is defined in screen coordinates.</p> <p>The <tt>widget</tt> argument is optional and can be used to aid determining the area. The <a href="QStyleOption.html"><tt>QStyleOption</tt></a> object can be cast to the appropriate type using the qstyleoption_cast() function. See the table below for the appropriate <tt>option</tt> casts:</p> <p><table align="center" cellpadding="2" cellspacing="1" border="0"> <thead><tr valign="top" class="qt-style"><th>Sub Element</th><th><a href="QStyleOption.html"><tt>QStyleOption</tt></a> Subclass</th></tr></thead> <tr valign="top" class="odd"><td><a href="QStyle.html#SubElement-enum"><tt>SE_PushButtonContents</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#SubElement-enum"><tt>SE_PushButtonFocusRect</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#SubElement-enum"><tt>SE_CheckBoxIndicator</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#SubElement-enum"><tt>SE_CheckBoxContents</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#SubElement-enum"><tt>SE_CheckBoxFocusRect</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#SubElement-enum"><tt>SE_RadioButtonIndicator</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#SubElement-enum"><tt>SE_RadioButtonContents</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#SubElement-enum"><tt>SE_RadioButtonFocusRect</tt></a></td><td><a href="QStyleOptionButton.html"><tt>QStyleOptionButton</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#SubElement-enum"><tt>SE_ComboBoxFocusRect</tt></a></td><td><a href="QStyleOptionComboBox.html"><tt>QStyleOptionComboBox</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#SubElement-enum"><tt>SE_Q3DockWindowHandleRect</tt></a></td><td><tt>QStyleOptionQ3DockWindow</tt></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#SubElement-enum"><tt>SE_ProgressBarGroove</tt></a></td><td><a href="QStyleOptionProgressBar.html"><tt>QStyleOptionProgressBar</tt></a></td></tr> <tr valign="top" class="even"><td><a href="QStyle.html#SubElement-enum"><tt>SE_ProgressBarContents</tt></a></td><td><a href="QStyleOptionProgressBar.html"><tt>QStyleOptionProgressBar</tt></a></td></tr> <tr valign="top" class="odd"><td><a href="QStyle.html#SubElement-enum"><tt>SE_ProgressBarLabel</tt></a></td><td><a href="QStyleOptionProgressBar.html"><tt>QStyleOptionProgressBar</tt></a></td></tr> </table></p> */"/> <method name="protected void timerEvent(com.trolltech.qt.core.QTimerEvent event)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public void unpolish(com.trolltech.qt.gui.QWidget widget)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public void unpolish(com.trolltech.qt.gui.QApplication app)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> </class>