<class name="QCDEStyle" doc="/** <p>The <a href="QCDEStyle.html#QCDEStyle(boolean)"><tt>QCDEStyle</tt></a> class provides a CDE look and feel.</p> <p>This style provides a slightly improved Motif look similar to some versions of the Common Desktop Environment (CDE). The main differences are thinner frames and more modern radio buttons and checkboxes. Together with a dark background and a bright text/foreground color, the style looks quite attractive (at least for Motif fans).</p> <p>Note that most of the functions provided by <a href="QCDEStyle.html#QCDEStyle(boolean)"><tt>QCDEStyle</tt></a> are reimplementations of <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> functions; see <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> for their documentation. <a href="QCDEStyle.html#QCDEStyle(boolean)"><tt>QCDEStyle</tt></a> provides overloads for <a href="QCDEStyle.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> and <a href="QCDEStyle.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> which are documented here.</p> <p align="center"><img src="%2E%2E/images/qcdestyle.png" /></p> @see <tt>QWindowsXPStyle</tt> @see <tt>QMacStyle</tt> @see <a href="QWindowsStyle.html"><tt>QWindowsStyle</tt></a> @see <a href="QPlastiqueStyle.html"><tt>QPlastiqueStyle</tt></a> @see <a href="QMotifStyle.html#QMotifStyle(boolean)"><tt>QMotifStyle</tt></a> */"> <method name="public QCDEStyle(boolean useHighlightCols)" doc="/** <p>Constructs a <a href="QCDEStyle.html#QCDEStyle(boolean)"><tt>QCDEStyle</tt></a>.</p> <p>If <tt>useHighlightCols</tt> is false (the default), then 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.</p> */"/> <method name="public QCDEStyle()" doc="/** <p>Equivalent to <a href="QCDEStyle.html#QCDEStyle(boolean)"><tt>QCDEStyle</tt></a>(false). */"/> <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="QCDEStyle.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="QCDEStyle.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 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="/** <p>Draws the given <tt>element</tt> with the provided <tt>p</tt> with the style options specified by <tt>opt</tt>.</p> <p>The <tt>w</tt> argument is optional and can be used as aid in drawing the control. The <tt>opt</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="QCDEStyle.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="QMotifStyle.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 final void drawControl(com.trolltech.qt.gui.QStyle.ControlElement element, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QPainter p)" doc="/** <p>Equivalent to <a href="QCDEStyle.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>(<tt>element</tt>, <tt>opt</tt>, <tt>p</tt>, 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="/** <p>Draws the given primitive <tt>pe</tt> with the provided <tt>p</tt> using the style options specified by <tt>opt</tt>.</p> <p>The <tt>w</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="QMotifStyle.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="QCDEStyle.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 pe, com.trolltech.qt.gui.QStyleOption opt, com.trolltech.qt.gui.QPainter p)" doc="/** <p>Equivalent to <a href="QCDEStyle.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>pe</tt>, <tt>opt</tt>, <tt>p</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="QCDEStyle.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="QCDEStyle.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 com.trolltech.qt.gui.QPalette standardPalette()" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> </class>