Sophie

Sophie

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

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:04:23 CEST 2007 -->
<TITLE>
QStyle
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QStyle class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QStyle";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QStringListModel.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QStyle.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QStyle.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QStyle</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QStyle</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>QStyle</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></DL>
</PRE>

<P>
<p>The <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> class is an abstract base class that encapsulates the look and feel of a GUI.</p>
<p>Qt contains a set of <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> subclasses that emulate the styles of the different platforms supported by Qt (<a href="QWindowsStyle.html"><tt>QWindowsStyle</tt></a>, QMacStyle, <a href="QMotifStyle.html"><tt>QMotifStyle</tt></a>, etc.)&#x2e; By default, these styles are built into the QtGui library. Styles can also be made available as plugins.</p>
<p>Qt's built-in widgets use <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> to perform nearly all of their drawing, ensuring that they look exactly like the equivalent native widgets. The diagram below shows a <a href="QComboBox.html"><tt>QComboBox</tt></a> in six different styles.</p>
<p align="center"><img src="%2E%2E/images/qstyle-comboboxes.png" alt="Six combo boxes" /></p><p>Topics:</p>
<ul><li><a href="#setting-a-style">Setting a Style</a></li>
<li><a href="#developing-style-aware-custom-widgets">Developing Style-Aware Custom Widgets</a></li>
<li><a href="#creating-a-custom-style">Creating a Custom Style</a></li>
<li><a href="#using-a-custom-style">Using a Custom Style</a></li>
<li><a href="#right-to-left-desktops">Right-to-Left Desktops</a></li>
</ul>
<a name="setting-a-style"></a>
<h3>Setting a Style</h3>
<p>The style of the entire application can be set using the QApplication::setStyle() function. It can also be specified by the user of the application, using the <tt>-style</tt> command-line option:</p>
<pre>    ./myapplication -style motif</pre>
<p>If no style is specified, Qt will choose the most appropriate style for the user's platform or desktop environment.</p>
<p>A style can also be set on an individual widget using the QWidget::setStyle() function.</p>
<a name="developing-style-aware-custom-widgets"></a>
<h3>Developing Style-Aware Custom Widgets</h3>
<p>If you are developing custom widgets and want them to look good on all platforms, you can use <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> functions to perform parts of the widget drawing, such as <a href="QStyle.html#drawItemText(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPalette, boolean, java.lang.String, com.trolltech.qt.gui.QPalette.ColorRole)"><tt>drawItemText</tt></a>, <a href="QStyle.html#drawItemPixmap(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPixmap)"><tt>drawItemPixmap</tt></a>, <a href="QStyle.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>, <a href="QStyle.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="QStyle.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>.</p>
<p>Most <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> draw functions take four arguments:</p>
<ul>
<li>an enum value specifying which graphical element to draw</li>
<li>a <a href="QStyleOption.html"><tt>QStyleOption</tt></a> specifying how and where to render that element</li>
<li>a <a href="QPainter.html"><tt>QPainter</tt></a> that should be used to draw the element</li>
<li>a <a href="QWidget.html"><tt>QWidget</tt></a> on which the drawing is performed (optional)</li>
</ul>
<p>For example, if you want to draw a focus rectangle on your widget, you can write:</p>
<pre>    void MyWidget::paintEvent(QPaintEvent * <span class="comment">/* event *&#47;</span>)
    {
        QPainter painter(this);

        QStyleOptionFocusRect option;
        option.initFrom(this);
        option.backgroundColor = palette().color(QPalette::Background);

        style()-&gt;drawPrimitive(QStyle::PE_FrameFocusRect, &amp;option, &amp;painter, this);
    }</pre>
<p><a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> gets all the information it needs to render the graphical element from <a href="QStyleOption.html"><tt>QStyleOption</tt></a>. The widget is passed as the last argument in case the style needs it to perform special effects (such as animated default buttons on Mac OS X), but it isn't mandatory. In fact, you can use <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> to draw on any paint device, not just widgets, by setting the <a href="QPainter.html"><tt>QPainter</tt></a> properly.</p>
<p><a href="QStyleOption.html"><tt>QStyleOption</tt></a> has various subclasses for the various types of graphical elements that can be drawn. For example, <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_FrameFocusRect</tt></a> expects a <a href="QStyleOptionFocusRect.html"><tt>QStyleOptionFocusRect</tt></a> argument.</p>
<p>To ensure that drawing operations are as fast as possible, <a href="QStyleOption.html"><tt>QStyleOption</tt></a> and its subclasses have public data members. See the <a href="QStyleOption.html"><tt>QStyleOption</tt></a> class documentation for details on how to use it.</p>
<p>For convenience, Qt provides the <a href="QStylePainter.html"><tt>QStylePainter</tt></a> class, which combines a <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a>, a <a href="QPainter.html"><tt>QPainter</tt></a>, and a <a href="QWidget.html"><tt>QWidget</tt></a>. This makes it possible to write</p>
<pre>        QStylePainter painter(this);
        ...
        painter.drawPrimitive(QStyle::PE_FrameFocusRect, option);</pre>
<p>instead of</p>
<pre>        QPainter painter(this);
        ...
        style()-&gt;drawPrimitive(QStyle::PE_FrameFocusRect, &amp;option, &amp;painter, this);</pre>
<a name="creating-a-custom-style"></a>
<h3>Creating a Custom Style</h3>
<p>If you want to design a custom look and feel for your application, the first step is to pick one of the base styles provided with Qt to build your custom style from. The choice will depend on which existing style resembles your style the most.</p>
<p>Depending on which parts of the base style you want to change, you must reimplement the functions that are used to draw those parts of the interface. To illustrate this, we will modify the look of the spin box arrows drawn by <a href="QWindowsStyle.html"><tt>QWindowsStyle</tt></a>. The arrows are <i>primitive elements</i> that are drawn by the <a href="QStyle.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> function, so we need to reimplement that function. We need the following class declaration:</p>
<pre>    class CustomStyle : public QWindowsStyle
    {
        Q_OBJECT

    public:
        CustomStyle()
        ~CustomStyle() {}

        void drawPrimitive(PrimitiveElement element, const QStyleOption *option,
                           QPainter *painter, const QWidget *widget) const;
    };</pre>
<p>To draw its up and down arrows, <a href="QSpinBox.html"><tt>QSpinBox</tt></a> uses the <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorSpinUp</tt></a> and <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorSpinDown</tt></a> primitive elements. Here's how to reimplement the <a href="QStyle.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> function to draw them differently:</p>
<pre>    void CustomStyle::drawPrimitive(PrimitiveElement element, const QStyleOption *option,
                                    QPainter *painter, const QWidget *widget) const
    {
        if (element == PE_IndicatorSpinUp || element == PE_IndicatorSpinDown) {
            QPolygon points(3);
            int x = option-&gt;rect.x();
            int y = option-&gt;rect.y();
            int w = option-&gt;rect.width() / 2;
            int h = option-&gt;rect.height() / 2;
            x += (option-&gt;rect.width() - w) / 2;
            y += (option-&gt;rect.height() - h) / 2;

            if (element == PE_IndicatorSpinUp) {
                points[0] = QPoint(x, y + h);
                points[1] = QPoint(x + w, y + h);
                points[2] = QPoint(x + w / 2, y);
            } else { <span class="comment">// PE_SpinBoxDown</span>
                points[0] = QPoint(x, y);
                points[1] = QPoint(x + w, y);
                points[2] = QPoint(x + w / 2, y + h);
            }

            if (option-&gt;state &amp; State_Enabled) {
                painter-&gt;setPen(option-&gt;palette.mid().color());
                painter-&gt;setBrush(option-&gt;palette.buttonText());
            } else {
                painter-&gt;setPen(option-&gt;palette.buttonText().color());
                painter-&gt;setBrush(option-&gt;palette.mid());
            }
            painter-&gt;drawPolygon(points);
        } else {
            QWindowsStyle::drawPrimitive(element, option, painter, widget);
        }
    }</pre>
<p>Notice that we don't use the <tt>widget</tt> argument, except to pass it on to the QWindowStyle::drawPrimitive() function. As mentioned earlier, the information about what is to be drawn and how it should be drawn is specified by a <a href="QStyleOption.html"><tt>QStyleOption</tt></a> object, so there is no need to ask the widget.</p>
<p>If you need to use the <tt>widget</tt> argument to obtain additional information, be careful to ensure that it isn't 0 and that it is of the correct type before using it. For example:</p>
<pre>        QSpinBox *spinBox = qobject_cast&lt;QSpinBox *&gt;(widget);
        if (spinBox) {
        ...
        }</pre>
<p>When implementing a custom style, you cannot assume that the widget is a <a href="QSpinBox.html"><tt>QSpinBox</tt></a> just because the enum value is called <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorSpinUp</tt></a> or <a href="QStyle.html#PrimitiveElement-enum"><tt>PE_IndicatorSpinDown</tt></a>.</p>
<p>The documentation for the Styles</tt> example covers this topic in more detail.</p>
<a name="using-a-custom-style"></a>
<h3>Using a Custom Style</h3>
<p>There are several ways of using a custom style in a Qt application. The simplest way is call the QApplication::setStyle() static function before creating the <a href="QApplication.html"><tt>QApplication</tt></a> object:</p>
<pre>    #include &lt;QtGui&gt;

    #include &quot;customstyle.h&quot;

    int main(int argc, char *argv[])
    {
        QApplication::setStyle(new CustomStyle);
        QApplication app(argc, argv);
        QSpinBox spinBox;
        spinBox.show();
        return app.exec();
    }</pre>
<p>You can call QApplication::setStyle() at any time, but by calling it before the constructor, you ensure that the user's preference, set using the <tt>-style</tt> command-line option, is respected.</p>
<p>You may want to make your style available for use in other applications, some of which may not be yours and are not available for you to recompile. The Qt Plugin system makes it possible to create styles as plugins. Styles created as plugins are loaded as shared objects at runtime by Qt itself. Please refer to the <a href="%2E%2E/plugins-howto.html">Qt Plugin</tt></a> documentation for more information on how to go about creating a style plugin.</p>
<p>Compile your plugin and put it into Qt's <tt>plugins/styles</tt> directory. We now have a pluggable style that Qt can load automatically. To use your new style with existing applications, simply start the application with the following argument:</p>
<pre>    ./myapplication -style custom</pre>
<p>The application will use the look and feel from the custom style you implemented.</p>
<a name="right-to-left-desktops"></a>
<h3>Right-to-Left Desktops</h3>
<p>Languages written from right to left (such as Arabic and Hebrew) usually also mirror the whole layout of widgets, and require the light to come from the screen's top-right corner instead of top-left.</p>
<p>If you create a custom style, you should take special care when drawing asymmetric elements to make sure that they also look correct in a mirrored layout. An easy way to test your styles is to run applications with the <tt>-reverse</tt> command-line option or to call QApplication::setLayoutDirection() in your <tt>main()</tt> function.</p>
<p>Here are some things to keep in mind when making a style work well in a right-to-left environment:</p>
<ul>
<li><a href="QStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)"><tt>subControlRect</tt></a> and <a href="QStyle.html#subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>subElementRect</tt></a> return rectangles in screen coordinates</li>
<li>QStyleOption::direction indicates in which direction the item should be drawn in</li>
<li>If a style is not right-to-left aware it will display items as if it were left-to-right</li>
<li><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>, <a href="QStyle.html#visualPos(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.QRect, com.trolltech.qt.core.QPoint)"><tt>visualPos</tt></a>, and <a href="QStyle.html#visualAlignment(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.Alignment)"><tt>visualAlignment</tt></a> are helpful functions that will translate from logical to screen representations.</li>
<li><a href="QStyle.html#alignedRect(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.Alignment, com.trolltech.qt.core.QSize, com.trolltech.qt.core.QRect)"><tt>alignedRect</tt></a> will return a logical rect aligned for the current direction</li>
</ul>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QStyleOption.html"><tt>QStyleOption</tt></a>, 
<a href="QStylePainter.html"><tt>QStylePainter</tt></a>, 
<CODE>Example</tt></CODE></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the available complex controls.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the available contents types.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ControlElement.html" title="enum in com.trolltech.qt.gui">QStyle.ControlElement</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum represents a control element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.PixelMetric.html" title="enum in com.trolltech.qt.gui">QStyle.PixelMetric</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the various available pixel metrics.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.PrimitiveElement.html" title="enum in com.trolltech.qt.gui">QStyle.PrimitiveElement</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes that various primitive elements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the available standard pixmaps.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.State.html" title="class in com.trolltech.qt.gui">QStyle.State</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This QFlag class provides flags for the int enum.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.StateFlag.html" title="enum in com.trolltech.qt.gui">QStyle.StateFlag</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes flags that are used when drawing primitive elements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the available style hints.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.SubControl.html" title="class in com.trolltech.qt.gui">QStyle.SubControl</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the available sub controls.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.SubElement.html" title="enum in com.trolltech.qt.gui">QStyle.SubElement</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum represents a sub-area of a widget.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#QStyle()">QStyle</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a style object.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#alignedRect(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.Alignment, com.trolltech.qt.core.QSize, com.trolltech.qt.core.QRect)">alignedRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
            <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A>&nbsp;alignment,
            <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
            <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rectangle)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new rectangle of the specified <tt>size</tt> that is aligned to the given <tt>rectangle</tt> according to the specified <tt>alignment</tt> and <tt>direction</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#combinedLayoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.core.Qt.Orientation)">combinedLayoutSpacing</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls1,
                      <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls2,
                      <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded mthod provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#combinedLayoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption)">combinedLayoutSpacing</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls1,
                      <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls2,
                      <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                      <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded mthod provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#combinedLayoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">combinedLayoutSpacing</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls1,
                      <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls2,
                      <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                      <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
                      <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the spacing that should be used between <tt>controls1</tt> and
<tt>controls2</tt> in a layout.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter)">drawComplexControl</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                   <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                   <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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>(<tt>cc</tt>, <tt>opt</tt>, <tt>p</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)">drawComplexControl</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                   <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                   <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p,
                   <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>cc</tt> using the provided <tt>p</tt> with the style options specified by <tt>opt</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter)">drawControl</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ControlElement.html" title="enum in com.trolltech.qt.gui">QStyle.ControlElement</A>&nbsp;element,
            <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
            <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)">drawControl</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ControlElement.html" title="enum in com.trolltech.qt.gui">QStyle.ControlElement</A>&nbsp;element,
            <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
            <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p,
            <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>element</tt> with the provided <tt>p</tt> with the style options specified by <tt>opt</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#drawItemPixmap(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPixmap)">drawItemPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
               <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
               int&nbsp;alignment,
               <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>pixmap</tt> in the specified <tt>rect</tt>, according to the specified <tt>alignment</tt>, using the provided <tt>painter</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#drawItemText(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPalette, boolean, java.lang.String)">drawItemText</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
             <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
             int&nbsp;flags,
             <A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;pal,
             boolean&nbsp;enabled,
             java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.html#drawItemText(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPalette, boolean, java.lang.String, com.trolltech.qt.gui.QPalette.ColorRole)"><tt>drawItemText</tt></a>(<tt>painter</tt>, <tt>rect</tt>, <tt>flags</tt>, <tt>pal</tt>, <tt>enabled</tt>, <tt>text</tt>, QPalette::NoRole).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#drawItemText(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPalette, boolean, java.lang.String, com.trolltech.qt.gui.QPalette.ColorRole)">drawItemText</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
             <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
             int&nbsp;flags,
             <A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;pal,
             boolean&nbsp;enabled,
             java.lang.String&nbsp;text,
             <A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A>&nbsp;textRole)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given <tt>text</tt> in the specified <tt>rect</tt> using the provided <tt>painter</tt> and <tt>pal</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter)">drawPrimitive</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PrimitiveElement.html" title="enum in com.trolltech.qt.gui">QStyle.PrimitiveElement</A>&nbsp;pe,
              <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
              <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)">drawPrimitive</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PrimitiveElement.html" title="enum in com.trolltech.qt.gui">QStyle.PrimitiveElement</A>&nbsp;pe,
              <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
              <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p,
              <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the given primitive <tt>pe</tt> with the provided <tt>p</tt> using the style options specified by <tt>opt</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QStyle instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#generatedIconPixmap(com.trolltech.qt.gui.QIcon.Mode, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.gui.QStyleOption)">generatedIconPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.Mode.html" title="enum in com.trolltech.qt.gui">QIcon.Mode</A>&nbsp;iconMode,
                    <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
                    <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the given <tt>pixmap</tt>, styled to conform to the specified <tt>iconMode</tt> and taking into account the palette specified by <tt>opt</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#hitTestComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.core.QPoint)">hitTestComplexControl</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                      <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                      <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;pt)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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>cc</tt>, <tt>opt</tt>, <tt>pt</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#hitTestComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QWidget)">hitTestComplexControl</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                      <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                      <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;pt,
                      <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sub control at the given <tt>pt</tt> in the given complex <tt>cc</tt> (with the style options specified by <tt>opt</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#itemPixmapRect(com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPixmap)">itemPixmapRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
               int&nbsp;flags,
               <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the area within the given <tt>r</tt> in which to draw the specified <tt>pixmap</tt> according to the defined <tt>flags</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#itemTextRect(com.trolltech.qt.gui.QFontMetrics, com.trolltech.qt.core.QRect, int, boolean, java.lang.String)">itemTextRect</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFontMetrics.html" title="class in com.trolltech.qt.gui">QFontMetrics</A>&nbsp;fm,
             <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
             int&nbsp;flags,
             boolean&nbsp;enabled,
             java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the area within the given <tt>r</tt> in which to draw the provided <tt>text</tt> according to the specified font <tt>fm</tt> and <tt>flags</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#layoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation)">layoutSpacing</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
              <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
              <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded mthod provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#layoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption)">layoutSpacing</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
              <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
              <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
              <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded mthod provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#layoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">layoutSpacing</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
              <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
              <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
              <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
              <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded mthod provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#layoutSpacingImplementation(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation)">layoutSpacingImplementation</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
                            <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#layoutSpacingImplementation(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption)">layoutSpacingImplementation</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
                            <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                            <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#layoutSpacingImplementation(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">layoutSpacingImplementation</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
                            <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                            <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
                            <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This slot is called by layoutSpacing() to determine the spacing
that should be used between <tt>control1</tt> and <tt>control2</tt> in a
layout.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric)">pixelMetric</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PixelMetric.html" title="enum in com.trolltech.qt.gui">QStyle.PixelMetric</A>&nbsp;metric)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption)">pixelMetric</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PixelMetric.html" title="enum in com.trolltech.qt.gui">QStyle.PixelMetric</A>&nbsp;metric,
            <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">pixelMetric</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PixelMetric.html" title="enum in com.trolltech.qt.gui">QStyle.PixelMetric</A>&nbsp;metric,
            <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
            <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the given pixel <tt>metric</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#polish(com.trolltech.qt.gui.QApplication)">polish</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QApplication.html" title="class in com.trolltech.qt.gui">QApplication</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Late initialization of the given <tt>arg__1</tt> object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#polish(com.trolltech.qt.gui.QPalette)">polish</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the <tt>arg__1</tt> according to style specific requirements for color palettes (if any).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#polish(com.trolltech.qt.gui.QWidget)">polish</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes the appearance of the given <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.core.QSize)">sizeFromContents</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>&nbsp;ct,
                 <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                 <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;contentsSize)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.html#sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.core.QSize, com.trolltech.qt.gui.QWidget)"><tt>sizeFromContents</tt></a>(<tt>ct</tt>, <tt>opt</tt>, <tt>contentsSize</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.core.QSize, com.trolltech.qt.gui.QWidget)">sizeFromContents</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>&nbsp;ct,
                 <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                 <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;contentsSize,
                 <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the element described by the specified <tt>opt</tt> and <tt>ct</tt>, based on the provided <tt>contentsSize</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sliderPositionFromValue(int, int, int, int)">sliderPositionFromValue</A></B>(int&nbsp;min,
                        int&nbsp;max,
                        int&nbsp;val,
                        int&nbsp;space)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.html#sliderPositionFromValue(int, int, int, int, boolean)"><tt>sliderPositionFromValue</tt></a>(<tt>min</tt>, <tt>max</tt>, <tt>val</tt>, <tt>space</tt>, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sliderPositionFromValue(int, int, int, int, boolean)">sliderPositionFromValue</A></B>(int&nbsp;min,
                        int&nbsp;max,
                        int&nbsp;val,
                        int&nbsp;space,
                        boolean&nbsp;upsideDown)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given <tt>val</tt> to a pixel position.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sliderValueFromPosition(int, int, int, int)">sliderValueFromPosition</A></B>(int&nbsp;min,
                        int&nbsp;max,
                        int&nbsp;pos,
                        int&nbsp;space)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.html#sliderValueFromPosition(int, int, int, int, boolean)"><tt>sliderValueFromPosition</tt></a>(<tt>min</tt>, <tt>max</tt>, <tt>pos</tt>, <tt>space</tt>, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sliderValueFromPosition(int, int, int, int, boolean)">sliderValueFromPosition</A></B>(int&nbsp;min,
                        int&nbsp;max,
                        int&nbsp;pos,
                        int&nbsp;space,
                        boolean&nbsp;upsideDown)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given pixel <tt>pos</tt> to a logical value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap)">standardIcon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIcon</tt></a>(<tt>standardIcon</tt>, 0, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption)">standardIcon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon,
             <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIcon</tt></a>(<tt>standardIcon</tt>, <tt>option</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">standardIcon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon,
             <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
             <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an icon for the given <tt>standardIcon</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap)">standardIconImplementation</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption)">standardIconImplementation</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon,
                           <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">standardIconImplementation</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon,
                           <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                           <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an icon for the given <tt>standardIcon</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardPalette()">standardPalette</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the style's standard palette.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint)">styleHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>&nbsp;stylehint)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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>stylehint</tt>, 0, 0, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption)">styleHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>&nbsp;stylehint,
          <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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>stylehint</tt>, <tt>opt</tt>, 0, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">styleHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>&nbsp;stylehint,
          <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
          <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.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>stylehint</tt>, <tt>opt</tt>, <tt>widget</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleHintReturn)">styleHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>&nbsp;stylehint,
          <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
          <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
          <A HREF="../../../../com/trolltech/qt/gui/QStyleHintReturn.html" title="class in com.trolltech.qt.gui">QStyleHintReturn</A>&nbsp;returnData)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an integer representing the specified style <tt>stylehint</tt> for the given <tt>widget</tt> described by the provided style <tt>opt</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int)">subControlRect</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
               <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
               int&nbsp;sc)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)"><tt>subControlRect</tt></a>(<tt>cc</tt>, <tt>opt</tt>, <tt>sc</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)">subControlRect</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
               <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
               int&nbsp;sc,
               <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the rectangle containing the specified <tt>sc</tt> of the given complex <tt>cc</tt> (with the style specified by <tt>opt</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption)">subElementRect</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.SubElement.html" title="enum in com.trolltech.qt.gui">QStyle.SubElement</A>&nbsp;subElement,
               <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QStyle.html#subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>subElementRect</tt></a>(<tt>subElement</tt>, <tt>option</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">subElementRect</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.SubElement.html" title="enum in com.trolltech.qt.gui">QStyle.SubElement</A>&nbsp;subElement,
               <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
               <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sub-area for the given <tt>subElement</tt> as described in the provided style <tt>option</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#unpolish(com.trolltech.qt.gui.QApplication)">unpolish</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QApplication.html" title="class in com.trolltech.qt.gui">QApplication</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uninitialize the given <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#unpolish(com.trolltech.qt.gui.QWidget)">unpolish</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uninitialize the given <tt>arg__1</tt>'s appearance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#visualAlignment(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.Alignment)">visualAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
                <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A>&nbsp;alignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transforms an <tt>alignment</tt> of Qt::AlignLeft or Qt::AlignRight without Qt::AlignAbsolute into Qt::AlignLeft or Qt::AlignRight with Qt::AlignAbsolute according to the layout <tt>direction</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#visualAlignment(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.AlignmentFlag...)">visualAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
                <A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>...&nbsp;alignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transforms an <tt>alignment</tt> of Qt::AlignLeft or Qt::AlignRight without Qt::AlignAbsolute into Qt::AlignLeft or Qt::AlignRight with Qt::AlignAbsolute according to the layout <tt>direction</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#visualPos(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.QRect, com.trolltech.qt.core.QPoint)">visualPos</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;boundingRect,
          <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;logicalPos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the given <tt>logicalPos</tt> converted to screen coordinates based on the specified <tt>direction</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#visualRect(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.QRect, com.trolltech.qt.core.QRect)">visualRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
           <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;boundingRect,
           <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;logicalRect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the given <tt>logicalRect</tt> converted to screen coordinates based on the specified <tt>direction</tt>.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#children()">children</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#connectSlotsByName()">connectSlotsByName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)">customEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#disposeLater()">disposeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectInfo()">dumpObjectInfo</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectTree()">dumpObjectTree</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dynamicPropertyNames()">dynamicPropertyNames</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild()">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren()">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, com.trolltech.qt.core.QRegExp)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, java.lang.String)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#installEventFilter(com.trolltech.qt.core.QObject)">installEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#isWidgetType()">isWidgetType</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#killTimer(int)">killTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#moveToThread(java.lang.Thread)">moveToThread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#objectName()">objectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#parent()">parent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#property(java.lang.String)">property</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#removeEventFilter(com.trolltech.qt.core.QObject)">removeEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setObjectName(java.lang.String)">setObjectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setParent(com.trolltech.qt.core.QObject)">setParent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#startTimer(int)">startTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#thread()">thread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QStyle()"><!-- --></A><H3>
QStyle</H3>
<PRE>
public <B>QStyle</B>()</PRE>
<DL>
<DD><p>Constructs a style object.</p>
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption)"><!-- --></A><H3>
standardIcon</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>standardIcon</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon,
                                <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIcon</tt></a>(<tt>standardIcon</tt>, <tt>option</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap)"><!-- --></A><H3>
standardIcon</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>standardIcon</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIcon</tt></a>(<tt>standardIcon</tt>, 0, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
standardIcon</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>standardIcon</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon,
                                <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
                                <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Returns an icon for the given <tt>standardIcon</tt>.</p>
<p>The <tt>standardIcon</tt> is a standard pixmap which can follow some existing GUI style or guideline. The <tt>option</tt> argument can be used to pass extra information required when defining the appropriate icon. The <tt>widget</tt> argument is optional and can also be used to aid the determination of the icon.</p>
<p><b>Warning:</b> Because of binary compatibility constraints, this function is not virtual. If you want to provide your own icons in a <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> subclass, reimplement the <a href="QStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIconImplementation</tt></a> slot in your subclass instead. The <a href="QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIcon</tt></a> function will dynamically detect the slot and call it.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIconImplementation</tt></a>, 
<tt>standardPixmap</tt></DL>
</DD>
</DL>
<HR>

<A NAME="standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption)"><!-- --></A><H3>
standardIconImplementation</H3>
<PRE>
protected final <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>standardIconImplementation</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon,
                                                 <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap)"><!-- --></A><H3>
standardIconImplementation</H3>
<PRE>
protected final <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>standardIconImplementation</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
standardIconImplementation</H3>
<PRE>
protected <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>standardIconImplementation</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>&nbsp;standardIcon,
                                           <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                                           <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Returns an icon for the given <tt>standardIcon</tt>.</p>
<p>Reimplement this slot to provide your own icons in a <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> subclass; because of binary compatibility constraints, the <a href="QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIcon</tt></a> function (introduced in Qt 4.1) is not virtual. Instead, <a href="QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIcon</tt></a> will dynamically detect and call <i>this</i> slot. The default implementation simply calls the standardPixmap() function with the given parameters.</p>
<p>The <tt>standardIcon</tt> is a standard pixmap which can follow some existing GUI style or guideline. The <tt>opt</tt> argument can be used to pass extra information required when defining the appropriate icon. The <tt>widget</tt> argument is optional and can also be used to aid the determination of the icon.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>standardIcon</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter)"><!-- --></A><H3>
drawComplexControl</H3>
<PRE>
public final void <B>drawComplexControl</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                                     <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                                     <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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>(<tt>cc</tt>, <tt>opt</tt>, <tt>p</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
drawComplexControl</H3>
<PRE>
public abstract void <B>drawComplexControl</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                                        <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                                        <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p,
                                        <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Draws the given <tt>cc</tt> using the provided <tt>p</tt> with the style options specified by <tt>opt</tt>.</p>
<p>The <tt>widget</tt> argument is optional and can be used as aid in drawing the control.</p>
<p>The <tt>opt</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>opt</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="QStyle.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="QStyle.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>opt</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>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.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>, 
<a href="QStyle.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></DL>
</DD>
</DL>
<HR>

<A NAME="drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter)"><!-- --></A><H3>
drawControl</H3>
<PRE>
public final void <B>drawControl</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ControlElement.html" title="enum in com.trolltech.qt.gui">QStyle.ControlElement</A>&nbsp;element,
                              <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                              <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawControl(com.trolltech.qt.gui.QStyle.ControlElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
drawControl</H3>
<PRE>
public abstract void <B>drawControl</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ControlElement.html" title="enum in com.trolltech.qt.gui">QStyle.ControlElement</A>&nbsp;element,
                                 <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                                 <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p,
                                 <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</PRE>
<DL>
<DD><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>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.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>, 
<a href="QStyle.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></DL>
</DD>
</DL>
<HR>

<A NAME="drawItemPixmap(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawItemPixmap</H3>
<PRE>
public void <B>drawItemPixmap</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
                           <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
                           int&nbsp;alignment,
                           <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap)</PRE>
<DL>
<DD><p>Draws the given <tt>pixmap</tt> in the specified <tt>rect</tt>, according to the specified <tt>alignment</tt>, using the provided <tt>painter</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.html#drawItemText(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPalette, boolean, java.lang.String, com.trolltech.qt.gui.QPalette.ColorRole)"><tt>drawItemText</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawItemText(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPalette, boolean, java.lang.String)"><!-- --></A><H3>
drawItemText</H3>
<PRE>
public final void <B>drawItemText</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
                               <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
                               int&nbsp;flags,
                               <A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;pal,
                               boolean&nbsp;enabled,
                               java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.html#drawItemText(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPalette, boolean, java.lang.String, com.trolltech.qt.gui.QPalette.ColorRole)"><tt>drawItemText</tt></a>(<tt>painter</tt>, <tt>rect</tt>, <tt>flags</tt>, <tt>pal</tt>, <tt>enabled</tt>, <tt>text</tt>, QPalette::NoRole).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawItemText(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPalette, boolean, java.lang.String, com.trolltech.qt.gui.QPalette.ColorRole)"><!-- --></A><H3>
drawItemText</H3>
<PRE>
public void <B>drawItemText</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
                         <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
                         int&nbsp;flags,
                         <A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;pal,
                         boolean&nbsp;enabled,
                         java.lang.String&nbsp;text,
                         <A HREF="../../../../com/trolltech/qt/gui/QPalette.ColorRole.html" title="enum in com.trolltech.qt.gui">QPalette.ColorRole</A>&nbsp;textRole)</PRE>
<DL>
<DD><p>Draws the given <tt>text</tt> in the specified <tt>rect</tt> using the provided <tt>painter</tt> and <tt>pal</tt>.</p>
<p>The text is drawn using the painter's pen, and aligned and wrapped according to the specified <tt>flags</tt>. If an explicit <tt>textRole</tt> is specified, the text is drawn using the <tt>pal</tt>'s color for the given role. The <tt>enabled</tt> parameter indicates whether or not the item is enabled; when reimplementing this function, the <tt>enabled</tt> parameter should influence how the item is drawn.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>Qt::Alignment</tt></CODE>, 
<a href="QStyle.html#drawItemPixmap(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPixmap)"><tt>drawItemPixmap</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter)"><!-- --></A><H3>
drawPrimitive</H3>
<PRE>
public final void <B>drawPrimitive</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PrimitiveElement.html" title="enum in com.trolltech.qt.gui">QStyle.PrimitiveElement</A>&nbsp;pe,
                                <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                                <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPrimitive(com.trolltech.qt.gui.QStyle.PrimitiveElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
drawPrimitive</H3>
<PRE>
public abstract void <B>drawPrimitive</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PrimitiveElement.html" title="enum in com.trolltech.qt.gui">QStyle.PrimitiveElement</A>&nbsp;pe,
                                   <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                                   <A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;p,
                                   <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</PRE>
<DL>
<DD><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>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.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>, 
<a href="QStyle.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></DL>
</DD>
</DL>
<HR>

<A NAME="generatedIconPixmap(com.trolltech.qt.gui.QIcon.Mode, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.gui.QStyleOption)"><!-- --></A><H3>
generatedIconPixmap</H3>
<PRE>
public abstract <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>generatedIconPixmap</B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.Mode.html" title="enum in com.trolltech.qt.gui">QIcon.Mode</A>&nbsp;iconMode,
                                            <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap,
                                            <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt)</PRE>
<DL>
<DD><p>Returns a copy of the given <tt>pixmap</tt>, styled to conform to the specified <tt>iconMode</tt> and taking into account the palette specified by <tt>opt</tt>.</p>
<p>The <tt>opt</tt> parameter can pass extra information, but it must contain a palette.</p>
<p>Note that not all pixmaps will conform, in which case the returned pixmap is a plain copy.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QIcon.html"><tt>QIcon</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hitTestComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
hitTestComplexControl</H3>
<PRE>
public final int <B>hitTestComplexControl</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                                       <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                                       <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;pt)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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>cc</tt>, <tt>opt</tt>, <tt>pt</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="hitTestComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.core.QPoint, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
hitTestComplexControl</H3>
<PRE>
public abstract int <B>hitTestComplexControl</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                                          <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                                          <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;pt,
                                          <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Returns the sub control at the given <tt>pt</tt> in the given complex <tt>cc</tt> (with the style options specified by <tt>opt</tt>).</p>
<p>Note that the <tt>pt</tt> is expressed in screen coordinates.</p>
<p>The <tt>opt</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="QStyle.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>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.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>, 
<a href="QStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)"><tt>subControlRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="itemPixmapRect(com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
itemPixmapRect</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>itemPixmapRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
                            int&nbsp;flags,
                            <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap)</PRE>
<DL>
<DD><p>Returns the area within the given <tt>r</tt> in which to draw the specified <tt>pixmap</tt> according to the defined <tt>flags</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="itemTextRect(com.trolltech.qt.gui.QFontMetrics, com.trolltech.qt.core.QRect, int, boolean, java.lang.String)"><!-- --></A><H3>
itemTextRect</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>itemTextRect</B>(<A HREF="../../../../com/trolltech/qt/gui/QFontMetrics.html" title="class in com.trolltech.qt.gui">QFontMetrics</A>&nbsp;fm,
                          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
                          int&nbsp;flags,
                          boolean&nbsp;enabled,
                          java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Returns the area within the given <tt>r</tt> in which to draw the provided <tt>text</tt> according to the specified font <tt>fm</tt> and <tt>flags</tt>. The <tt>enabled</tt> parameter indicates whether or not the associated item is enabled.</p>
<p>If the given <tt>r</tt> is larger than the area needed to render the <tt>text</tt>, the rectangle that is returned will be offset within <tt>r</tt> according to the specified <tt>flags</tt>. For example, if <tt>flags</tt> is Qt::AlignCenter, the returned rectangle will be centered within <tt>r</tt>. If the given <tt>r</tt> is smaller than the area needed, the returned rectangle will be the smallest rectangle large enough to render the <tt>text</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>Qt::Alignment</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption)"><!-- --></A><H3>
pixelMetric</H3>
<PRE>
public final int <B>pixelMetric</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PixelMetric.html" title="enum in com.trolltech.qt.gui">QStyle.PixelMetric</A>&nbsp;metric,
                             <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric)"><!-- --></A><H3>
pixelMetric</H3>
<PRE>
public final int <B>pixelMetric</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PixelMetric.html" title="enum in com.trolltech.qt.gui">QStyle.PixelMetric</A>&nbsp;metric)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
pixelMetric</H3>
<PRE>
public abstract int <B>pixelMetric</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.PixelMetric.html" title="enum in com.trolltech.qt.gui">QStyle.PixelMetric</A>&nbsp;metric,
                                <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
                                <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><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>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="polish(com.trolltech.qt.gui.QApplication)"><!-- --></A><H3>
polish</H3>
<PRE>
public void <B>polish</B>(<A HREF="../../../../com/trolltech/qt/gui/QApplication.html" title="class in com.trolltech.qt.gui">QApplication</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Late initialization of the given <tt>arg__1</tt> object.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="polish(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
polish</H3>
<PRE>
public void <B>polish</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Initializes the appearance of the given <tt>arg__1</tt>.</p>
<p>This function is called for every widget at some point after it has been fully created but just <i>before</i> it is shown for the very first time.</p>
<p>Note that the default implementation does nothing. Reasonable actions in this function might be to call the QWidget::setBackgroundMode() function for the widget. Do not use the function to set, for example, the geometry; reimplementing this function do provide a back-door through which the appearance of a widget can be changed, but with Qt 4.0's style engine there is rarely necessary to implement this function; reimplement the <a href="QStyle.html#drawItemPixmap(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPixmap)"><tt>drawItemPixmap</tt></a>, <a href="QStyle.html#drawItemText(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPalette, boolean, java.lang.String, com.trolltech.qt.gui.QPalette.ColorRole)"><tt>drawItemText</tt></a>, <a href="QStyle.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>, etc. instead.</p>
<p>The QWidget::inherits() function may provide enough information to allow class-specific customizations. But because new <a href="QStyle.html#QStyle()"><tt>QStyle</tt></a> subclasses are expected to work reasonably with all current and <i>future</i> widgets, limited use of hard-coded customization is recommended.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.html#unpolish(com.trolltech.qt.gui.QWidget)"><tt>unpolish</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="polish(com.trolltech.qt.gui.QPalette)"><!-- --></A><H3>
polish</H3>
<PRE>
public void <B>polish</B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Changes the <tt>arg__1</tt> according to style specific requirements for color palettes (if any).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPalette.html"><tt>QPalette</tt></a>, 
<tt>QApplication::setPalette</tt></DL>
</DD>
</DL>
<HR>

<A NAME="sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.core.QSize)"><!-- --></A><H3>
sizeFromContents</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>sizeFromContents</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>&nbsp;ct,
                                    <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                                    <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;contentsSize)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.html#sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.core.QSize, com.trolltech.qt.gui.QWidget)"><tt>sizeFromContents</tt></a>(<tt>ct</tt>, <tt>opt</tt>, <tt>contentsSize</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.core.QSize, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
sizeFromContents</H3>
<PRE>
public abstract <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>sizeFromContents</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>&nbsp;ct,
                                       <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                                       <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;contentsSize,
                                       <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</PRE>
<DL>
<DD><p>Returns the size of the element described by the specified <tt>opt</tt> and <tt>ct</tt>, based on the provided <tt>contentsSize</tt>.</p>
<p>The <tt>opt</tt> argument is a pointer to a <a href="QStyleOption.html"><tt>QStyleOption</tt></a> or one of its subclasses. The <tt>opt</tt> can be cast to the appropriate type using the qstyleoption_cast() function. The <tt>w</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>opt</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>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.html#ContentsType-enum"><tt>ContentsType</tt></a>, 
<a href="QStyleOption.html"><tt>QStyleOption</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="standardPalette()"><!-- --></A><H3>
standardPalette</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A> <B>standardPalette</B>()</PRE>
<DL>
<DD><p>Returns the style's standard palette.</p>
<p>Note that on systems that support system colors, the style's standard palette is not used.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
styleHint</H3>
<PRE>
public final int <B>styleHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>&nbsp;stylehint,
                           <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                           <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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>stylehint</tt>, <tt>opt</tt>, <tt>widget</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption)"><!-- --></A><H3>
styleHint</H3>
<PRE>
public final int <B>styleHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>&nbsp;stylehint,
                           <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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>stylehint</tt>, <tt>opt</tt>, 0, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="styleHint(com.trolltech.qt.gui.QStyle.StyleHint)"><!-- --></A><H3>
styleHint</H3>
<PRE>
public final int <B>styleHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>&nbsp;stylehint)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.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>stylehint</tt>, 0, 0, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleHintReturn)"><!-- --></A><H3>
styleHint</H3>
<PRE>
public abstract int <B>styleHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>&nbsp;stylehint,
                              <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;opt,
                              <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
                              <A HREF="../../../../com/trolltech/qt/gui/QStyleHintReturn.html" title="class in com.trolltech.qt.gui">QStyleHintReturn</A>&nbsp;returnData)</PRE>
<DL>
<DD><p>Returns an integer representing the specified style <tt>stylehint</tt> for the given <tt>widget</tt> described by the provided style <tt>opt</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>opt</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>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int)"><!-- --></A><H3>
subControlRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>subControlRect</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                                  <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                                  int&nbsp;sc)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)"><tt>subControlRect</tt></a>(<tt>cc</tt>, <tt>opt</tt>, <tt>sc</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
subControlRect</H3>
<PRE>
public abstract <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>subControlRect</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>&nbsp;cc,
                                     <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A>&nbsp;opt,
                                     int&nbsp;sc,
                                     <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><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="QStyle.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>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.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></DL>
</DD>
</DL>
<HR>

<A NAME="subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption)"><!-- --></A><H3>
subElementRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>subElementRect</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.SubElement.html" title="enum in com.trolltech.qt.gui">QStyle.SubElement</A>&nbsp;subElement,
                                  <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.html#subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><tt>subElementRect</tt></a>(<tt>subElement</tt>, <tt>option</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
subElementRect</H3>
<PRE>
public abstract <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>subElementRect</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.SubElement.html" title="enum in com.trolltech.qt.gui">QStyle.SubElement</A>&nbsp;subElement,
                                     <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
                                     <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Returns the sub-area for the given <tt>subElement</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>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="unpolish(com.trolltech.qt.gui.QApplication)"><!-- --></A><H3>
unpolish</H3>
<PRE>
public void <B>unpolish</B>(<A HREF="../../../../com/trolltech/qt/gui/QApplication.html" title="class in com.trolltech.qt.gui">QApplication</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Uninitialize the given <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="unpolish(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
unpolish</H3>
<PRE>
public void <B>unpolish</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Uninitialize the given <tt>arg__1</tt>'s appearance.</p>
<p>This function is the counterpart to <a href="QStyle.html#polish(com.trolltech.qt.gui.QPalette)"><tt>polish</tt></a>. It is called for every polished widget whenever the style is dynamically changed; the former style has to unpolish its settings before the new style can polish them again.</p>
<p>Note that <a href="QStyle.html#unpolish(com.trolltech.qt.gui.QWidget)"><tt>unpolish</tt></a> will only be called if the widget is destroyed. This can cause problems in some cases, e.g, if you remove a widget from the UI, cache it, and then reinsert it after the style has changed; some of Qt's classes cache their widgets.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.html#polish(com.trolltech.qt.gui.QPalette)"><tt>polish</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="alignedRect(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.Alignment, com.trolltech.qt.core.QSize, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
alignedRect</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>alignedRect</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
                                <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A>&nbsp;alignment,
                                <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
                                <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rectangle)</PRE>
<DL>
<DD><p>Returns a new rectangle of the specified <tt>size</tt> that is aligned to the given <tt>rectangle</tt> according to the specified <tt>alignment</tt> and <tt>direction</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="sliderPositionFromValue(int, int, int, int)"><!-- --></A><H3>
sliderPositionFromValue</H3>
<PRE>
public static int <B>sliderPositionFromValue</B>(int&nbsp;min,
                                          int&nbsp;max,
                                          int&nbsp;val,
                                          int&nbsp;space)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.html#sliderPositionFromValue(int, int, int, int, boolean)"><tt>sliderPositionFromValue</tt></a>(<tt>min</tt>, <tt>max</tt>, <tt>val</tt>, <tt>space</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="sliderPositionFromValue(int, int, int, int, boolean)"><!-- --></A><H3>
sliderPositionFromValue</H3>
<PRE>
public static int <B>sliderPositionFromValue</B>(int&nbsp;min,
                                          int&nbsp;max,
                                          int&nbsp;val,
                                          int&nbsp;space,
                                          boolean&nbsp;upsideDown)</PRE>
<DL>
<DD><p>Converts the given <tt>val</tt> to a pixel position. The <tt>min</tt> parameter maps to 0, <tt>max</tt> maps to <tt>space</tt> and other values are distributed evenly in-between.</p>
<p>This function can handle the entire integer range without overflow, providing that <tt>space</tt> is less than 4096.</p>
<p>By default, this function assumes that the maximum value is on the right for horizontal items and on the bottom for vertical items. Set the <tt>upsideDown</tt> parameter to true to reverse this behavior.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.html#sliderValueFromPosition(int, int, int, int, boolean)"><tt>sliderValueFromPosition</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="sliderValueFromPosition(int, int, int, int)"><!-- --></A><H3>
sliderValueFromPosition</H3>
<PRE>
public static int <B>sliderValueFromPosition</B>(int&nbsp;min,
                                          int&nbsp;max,
                                          int&nbsp;pos,
                                          int&nbsp;space)</PRE>
<DL>
<DD><p>Equivalent to <a href="QStyle.html#sliderValueFromPosition(int, int, int, int, boolean)"><tt>sliderValueFromPosition</tt></a>(<tt>min</tt>, <tt>max</tt>, <tt>pos</tt>, <tt>space</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="sliderValueFromPosition(int, int, int, int, boolean)"><!-- --></A><H3>
sliderValueFromPosition</H3>
<PRE>
public static int <B>sliderValueFromPosition</B>(int&nbsp;min,
                                          int&nbsp;max,
                                          int&nbsp;pos,
                                          int&nbsp;space,
                                          boolean&nbsp;upsideDown)</PRE>
<DL>
<DD><p>Converts the given pixel <tt>pos</tt> to a logical value. 0 maps to the <tt>min</tt> parameter, <tt>space</tt> maps to <tt>max</tt> and other values are distributed evenly in-between.</p>
<p>This function can handle the entire integer range without overflow.</p>
<p>By default, this function assumes that the maximum value is on the right for horizontal items and on the bottom for vertical items. Set the <tt>upsideDown</tt> parameter to true to reverse this behavior.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QStyle.html#sliderPositionFromValue(int, int, int, int, boolean)"><tt>sliderPositionFromValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="visualAlignment(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.AlignmentFlag...)"><!-- --></A><H3>
visualAlignment</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A> <B>visualAlignment</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
                                           <A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>...&nbsp;alignment)</PRE>
<DL>
<DD><p>Transforms an <tt>alignment</tt> of Qt::AlignLeft or Qt::AlignRight without Qt::AlignAbsolute into Qt::AlignLeft or Qt::AlignRight with Qt::AlignAbsolute according to the layout <tt>direction</tt>. The other alignment flags are left untouched.</p>
<p>If no horizontal alignment was specified, the function returns the default alignment for the given layout <tt>direction</tt>.</p>
<p>QWidget::layoutDirection</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="visualAlignment(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.Alignment)"><!-- --></A><H3>
visualAlignment</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A> <B>visualAlignment</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
                                           <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A>&nbsp;alignment)</PRE>
<DL>
<DD><p>Transforms an <tt>alignment</tt> of Qt::AlignLeft or Qt::AlignRight without Qt::AlignAbsolute into Qt::AlignLeft or Qt::AlignRight with Qt::AlignAbsolute according to the layout <tt>direction</tt>. The other alignment flags are left untouched.</p>
<p>If no horizontal alignment was specified, the function returns the default alignment for the given layout <tt>direction</tt>.</p>
<p>QWidget::layoutDirection</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="visualPos(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.QRect, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
visualPos</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>visualPos</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
                               <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;boundingRect,
                               <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;logicalPos)</PRE>
<DL>
<DD><p>Returns the given <tt>logicalPos</tt> converted to screen coordinates based on the specified <tt>direction</tt>. The <tt>boundingRect</tt> is used when performing the translation.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QWidget::layoutDirection</tt></DL>
</DD>
</DL>
<HR>

<A NAME="visualRect(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.QRect, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
visualRect</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>visualRect</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction,
                               <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;boundingRect,
                               <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;logicalRect)</PRE>
<DL>
<DD><p>Returns the given <tt>logicalRect</tt> converted to screen coordinates based on the specified <tt>direction</tt>. The <tt>boundingRect</tt> is used when performing the translation.</p>
<p>This function is provided to support right-to-left desktops, and is typically used in implementations of the <a href="QStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)"><tt>subControlRect</tt></a> function.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QWidget::layoutDirection</tt></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QStyle instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="combinedLayoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
combinedLayoutSpacing</H3>
<PRE>
public final int <B>combinedLayoutSpacing</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls1,
                                       <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls2,
                                       <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                                       <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
                                       <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD>Returns the spacing that should be used between <tt>controls1</tt> and
<tt>controls2</tt> in a layout. <tt>orientation</tt> specifies whether the
controls are laid out side by side or stacked vertically. The
<tt>option</tt> parameter can be used to pass extra information about the
parent widget. The <tt>widget</tt> parameter is optional and can also
be used if <tt>option</tt> is 0.
<p>
<tt>controls1</tt> and <tt>controls2</tt> are OR-combination of zero or more
\l{QSizePolicy::ControlTypes}{control types}.
<p>
This function is called by the layout system. It is used only if
PM_LayoutHorizontalSpacing or PM_LayoutVerticalSpacing returns a
negative value.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="combinedLayoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption)"><!-- --></A><H3>
combinedLayoutSpacing</H3>
<PRE>
public final int <B>combinedLayoutSpacing</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls1,
                                       <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls2,
                                       <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                                       <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</PRE>
<DL>
<DD>This is an overloaded mthod provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="combinedLayoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.gui.QSizePolicy.ControlTypes, com.trolltech.qt.core.Qt.Orientation)"><!-- --></A><H3>
combinedLayoutSpacing</H3>
<PRE>
public final int <B>combinedLayoutSpacing</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls1,
                                       <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>&nbsp;controls2,
                                       <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation)</PRE>
<DL>
<DD>This is an overloaded mthod provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="layoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
layoutSpacing</H3>
<PRE>
public final int <B>layoutSpacing</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
                               <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
                               <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                               <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
                               <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD>This is an overloaded mthod provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="layoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption)"><!-- --></A><H3>
layoutSpacing</H3>
<PRE>
public final int <B>layoutSpacing</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
                               <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
                               <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                               <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</PRE>
<DL>
<DD>This is an overloaded mthod provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="layoutSpacing(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation)"><!-- --></A><H3>
layoutSpacing</H3>
<PRE>
public final int <B>layoutSpacing</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
                               <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
                               <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation)</PRE>
<DL>
<DD>This is an overloaded mthod provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="layoutSpacingImplementation(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
layoutSpacingImplementation</H3>
<PRE>
public final int <B>layoutSpacingImplementation</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
                                             <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
                                             <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                                             <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option,
                                             <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD>This slot is called by layoutSpacing() to determine the spacing
that should be used between <tt>control1</tt> and <tt>control2</tt> in a
layout. <tt>orientation</tt> specifies whether the controls are laid
out side by side or stacked vertically. The <tt>option</tt> parameter
can be used to pass extra information about the parent widget.
The <tt>widget</tt> parameter is optional and can also be used if
<tt>option</tt> is 0.
<p>
If you want to provide custom layout spacings in a QStyle
subclass, implement a slot called layoutSpacingImplementation()
in your subclass. Be aware that this slot will only be called if
PM_LayoutHorizontalSpacing or PM_LayoutVerticalSpacing returns a
negative value.
<p>
The default implementation returns -1.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="layoutSpacingImplementation(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QStyleOption)"><!-- --></A><H3>
layoutSpacingImplementation</H3>
<PRE>
public final int <B>layoutSpacingImplementation</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
                                             <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
                                             <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation,
                                             <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A>&nbsp;option)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="layoutSpacingImplementation(com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.gui.QSizePolicy.ControlType, com.trolltech.qt.core.Qt.Orientation)"><!-- --></A><H3>
layoutSpacingImplementation</H3>
<PRE>
public final int <B>layoutSpacingImplementation</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control1,
                                             <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;control2,
                                             <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A>&nbsp;orientation)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QStringListModel.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QStyle.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QStyle.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>