Sophie

Sophie

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

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:02:48 CEST 2007 -->
<TITLE>
QMotifStyle
</TITLE>

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

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QMotifStyle";
}
</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/QMimeData.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class 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/QMotifStyle.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QMotifStyle.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_classes_inherited_from_class_com.trolltech.qt.gui.QStyle">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 QMotifStyle</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 "><A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">com.trolltech.qt.gui.QStyle</A>
                  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">com.trolltech.qt.gui.QCommonStyle</A>
                      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QMotifStyle</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/QCDEStyle.html" title="class in com.trolltech.qt.gui">QCDEStyle</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QMotifStyle</B><DT>extends <A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></DL>
</PRE>

<P>
<p>The <a href="QMotifStyle.html#QMotifStyle(boolean)"><tt>QMotifStyle</tt></a> class provides Motif look and feel.</p>
<p>This class implements the Motif look and feel. It closely resembles the original Motif look as defined by the Open Group, but with some minor improvements. The Motif style is Qt's default GUI style on Unix platforms.</p>
<p align="center"><img src="%2E%2E/images/qmotifstyle.png" /></p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><tt>QWindowsXPStyle</tt>, 
<tt>QMacStyle</tt>, 
<a href="QWindowsStyle.html"><tt>QWindowsStyle</tt></a>, 
<a href="QPlastiqueStyle.html"><tt>QPlastiqueStyle</tt></a>, 
<a href="QCDEStyle.html"><tt>QCDEStyle</tt></a></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>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.gui.QStyle"><!-- --></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.gui.<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui">QStyle.ComplexControl</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.ControlElement.html" title="enum in com.trolltech.qt.gui">QStyle.ControlElement</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.PixelMetric.html" title="enum in com.trolltech.qt.gui">QStyle.PixelMetric</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.PrimitiveElement.html" title="enum in com.trolltech.qt.gui">QStyle.PrimitiveElement</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.StandardPixmap.html" title="enum in com.trolltech.qt.gui">QStyle.StandardPixmap</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.State.html" title="class in com.trolltech.qt.gui">QStyle.State</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.StateFlag.html" title="enum in com.trolltech.qt.gui">QStyle.StateFlag</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.SubControl.html" title="class in com.trolltech.qt.gui">QStyle.SubControl</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.SubElement.html" title="enum in com.trolltech.qt.gui">QStyle.SubElement</A></CODE></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/QMotifStyle.html#QMotifStyle()">QMotifStyle</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QMotifStyle.html#QMotifStyle(boolean)"><tt>QMotifStyle</tt></a>(false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMotifStyle.html#QMotifStyle(boolean)">QMotifStyle</A></B>(boolean&nbsp;useHighlightCols)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QMotifStyle.html#QMotifStyle(boolean)"><tt>QMotifStyle</tt></a>.</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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMotifStyle.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;w)</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/QMotifStyle.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/QMotifStyle.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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMotifStyle.html#event(com.trolltech.qt.core.QEvent)">event</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMotifStyle.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;o,
            <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/QMotifStyle.html" title="class in com.trolltech.qt.gui">QMotifStyle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMotifStyle.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 QMotifStyle instance pointed to by nativePointer</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/QMotifStyle.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/QMotifStyle.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;This function is reimplemented for internal reasons.</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/QMotifStyle.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;This function is reimplemented for internal reasons.</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/QMotifStyle.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;This function is reimplemented for internal reasons.</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/QMotifStyle.html#setUseHighlightColors(boolean)">setUseHighlightColors</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>arg__1</tt> is false, the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color.</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/QMotifStyle.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;widget)</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>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/QMotifStyle.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;This method is used internally by Qt Jambi.</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/QMotifStyle.html#standardPalette()">standardPalette</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/QMotifStyle.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;hint,
          <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>hint</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/QMotifStyle.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/QMotifStyle.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;r,
               <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 the sub-area for the given <tt>r</tt> as described in the provided style <tt>opt</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMotifStyle.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QTimerEvent.html" title="class in com.trolltech.qt.core">QTimerEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/QMotifStyle.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;This function is reimplemented for internal reasons.</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/QMotifStyle.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;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMotifStyle.html#useHighlightColors()">useHighlightColors</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the style treats the highlight colors of the palette in a Motif-like manner, which is a simple inversion between the base and the text color; otherwise returns false.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.gui.QCommonStyle"><!-- --></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.gui.<A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html#generatedIconPixmap(com.trolltech.qt.gui.QIcon.Mode, com.trolltech.qt.gui.QPixmap, com.trolltech.qt.gui.QStyleOption)">generatedIconPixmap</A>, <A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.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></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.gui.QStyle"><!-- --></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.gui.<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><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>, <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>, <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>, <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>, <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>, <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>, <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>, <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>, <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>, <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>, <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>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#itemPixmapRect(com.trolltech.qt.core.QRect, int, com.trolltech.qt.gui.QPixmap)">itemPixmapRect</A>, <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>, <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>, <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>, <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>, <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>, <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>, <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>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric)">pixelMetric</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption)">pixelMetric</A>, <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>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sliderPositionFromValue(int, int, int, int)">sliderPositionFromValue</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sliderPositionFromValue(int, int, int, int, boolean)">sliderPositionFromValue</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sliderValueFromPosition(int, int, int, int)">sliderValueFromPosition</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#sliderValueFromPosition(int, int, int, int, boolean)">sliderValueFromPosition</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap)">standardIcon</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIcon(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption)">standardIcon</A>, <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>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap)">standardIconImplementation</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption)">standardIconImplementation</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint)">styleHint</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#styleHint(com.trolltech.qt.gui.QStyle.StyleHint, com.trolltech.qt.gui.QStyleOption)">styleHint</A>, <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>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int)">subControlRect</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption)">subElementRect</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#visualAlignment(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.Alignment)">visualAlignment</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyle.html#visualAlignment(com.trolltech.qt.core.Qt.LayoutDirection, com.trolltech.qt.core.Qt.AlignmentFlag...)">visualAlignment</A>, <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>, <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></CODE></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#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></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="QMotifStyle()"><!-- --></A><H3>
QMotifStyle</H3>
<PRE>
public <B>QMotifStyle</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QMotifStyle.html#QMotifStyle(boolean)"><tt>QMotifStyle</tt></a>(false).
<P>
</DL>
<HR>

<A NAME="QMotifStyle(boolean)"><!-- --></A><H3>
QMotifStyle</H3>
<PRE>
public <B>QMotifStyle</B>(boolean&nbsp;useHighlightCols)</PRE>
<DL>
<DD><p>Constructs a <a href="QMotifStyle.html#QMotifStyle(boolean)"><tt>QMotifStyle</tt></a>.</p>
<p>If <tt>useHighlightCols</tt> is false (the default), the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color.</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="setUseHighlightColors(boolean)"><!-- --></A><H3>
setUseHighlightColors</H3>
<PRE>
public final void <B>setUseHighlightColors</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>If <tt>arg__1</tt> is false, the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color.</p>
<p>The effect will show up the next time an application palette is set via QApplication::setPalette(). The current color palette of the application remains unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMotifStyle.html#useHighlightColors()"><tt>useHighlightColors</tt></a>, 
<tt>QStyle::polish</tt></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>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html#standardIconImplementation(com.trolltech.qt.gui.QStyle.StandardPixmap, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">standardIconImplementation</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></CODE></DL>
</DD>
<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="useHighlightColors()"><!-- --></A><H3>
useHighlightColors</H3>
<PRE>
public final boolean <B>useHighlightColors</B>()</PRE>
<DL>
<DD><p>Returns true if the style treats the highlight colors of the palette in a Motif-like manner, which is a simple inversion between the base and the text color; otherwise returns false. The default is false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMotifStyle.html#setUseHighlightColors(boolean)"><tt>setUseHighlightColors</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, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
drawComplexControl</H3>
<PRE>
public 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;w)</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>w</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="QMotifStyle.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="QMotifStyle.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>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.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></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMotifStyle.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="QMotifStyle.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, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
drawControl</H3>
<PRE>
public 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>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.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></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMotifStyle.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="QMotifStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a></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 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>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.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></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMotifStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a>, 
<a href="QMotifStyle.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="event(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
event</H3>
<PRE>
public boolean <B>event</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QObject.html#installEventFilter(com.trolltech.qt.core.QObject)"><tt>installEventFilter</tt></a>, 
<a href="QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)"><tt>timerEvent</tt></a>, 
<tt>QApplication::sendEvent</tt>, 
<tt>QApplication::postEvent</tt>, 
<tt>QWidget::event</tt></DL>
</DD>
</DL>
<HR>

<A NAME="eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
eventFilter</H3>
<PRE>
public boolean <B>eventFilter</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;o,
                           <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;e)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QObject.html#installEventFilter(com.trolltech.qt.core.QObject)"><tt>installEventFilter</tt></a></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 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>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html#pixelMetric(com.trolltech.qt.gui.QStyle.PixelMetric, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">pixelMetric</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></CODE></DL>
</DD>
<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>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#polish(com.trolltech.qt.gui.QApplication)">polish</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></DL>
</DD>
<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>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#polish(com.trolltech.qt.gui.QWidget)">polish</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></DL>
</DD>
<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>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#polish(com.trolltech.qt.gui.QPalette)">polish</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></DL>
</DD>
<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, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
sizeFromContents</H3>
<PRE>
public <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;widget)</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>widget</tt> is an optional argument and can contain extra information used for calculating the size.</p>
<p>See the table below for the appropriate <tt>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>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.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></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></CODE></DL>
</DD>
<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>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#standardPalette()">standardPalette</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></DL>
</DD>
<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 int <B>styleHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.StyleHint.html" title="enum in com.trolltech.qt.gui">QStyle.StyleHint</A>&nbsp;hint,
                     <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>hint</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>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.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></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></CODE></DL>
</DD>
<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 <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="QMotifStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a> for details. The <tt>widget</tt> is optional and can contain additional information for the function.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html#subControlRect(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, int, com.trolltech.qt.gui.QWidget)">subControlRect</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMotifStyle.html#drawComplexControl(com.trolltech.qt.gui.QStyle.ComplexControl, com.trolltech.qt.gui.QStyleOptionComplex, com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QWidget)"><tt>drawComplexControl</tt></a></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 <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;r,
                            <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 the sub-area for the given <tt>r</tt> as described in the provided style <tt>opt</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>opt</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>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html#subElementRect(com.trolltech.qt.gui.QStyle.SubElement, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.gui.QWidget)">subElementRect</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui">QCommonStyle</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="timerEvent(com.trolltech.qt.core.QTimerEvent)"><!-- --></A><H3>
timerEvent</H3>
<PRE>
protected void <B>timerEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QTimerEvent.html" title="class in com.trolltech.qt.core">QTimerEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QObject.html#startTimer(int)"><tt>startTimer</tt></a>, 
<a href="QObject.html#killTimer(int)"><tt>killTimer</tt></a>, 
<a href="QObject.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a></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>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#unpolish(com.trolltech.qt.gui.QApplication)">unpolish</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></DL>
</DD>
<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>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html#unpolish(com.trolltech.qt.gui.QWidget)">unpolish</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></DL>
</DD>
<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="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QMotifStyle.html" title="class in com.trolltech.qt.gui">QMotifStyle</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 QMotifStyle 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>
<!-- ========= 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/QMimeData.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMouseEvent.html" title="class 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/QMotifStyle.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QMotifStyle.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_classes_inherited_from_class_com.trolltech.qt.gui.QStyle">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>