<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:04:29 CEST 2007 --> <TITLE> QStyleOptionToolButton </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.gui.QStyleOptionToolButton class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QStyleOptionToolButton"; } </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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolBoxV2.TabPosition.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.StyleOptionType.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QStyleOptionToolButton.html" target="_top"><B>FRAMES</B></A> <A HREF="QStyleOptionToolButton.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 QStyleOptionToolButton</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/gui/QStyleOption.html" title="class in com.trolltech.qt.gui">com.trolltech.qt.gui.QStyleOption</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">com.trolltech.qt.gui.QStyleOptionComplex</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QStyleOptionToolButton</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> <HR> <DL> <DT><PRE>public class <B>QStyleOptionToolButton</B><DT>extends <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A></DL> </PRE> <P> <p>The <a href="QStyleOptionToolButton.html#QStyleOptionToolButton(int)"><tt>QStyleOptionToolButton</tt></a> class is used to describe the parameters for drawing a tool button.</p> <p><a href="QStyleOptionToolButton.html#QStyleOptionToolButton(int)"><tt>QStyleOptionToolButton</tt></a> contains all the information that <a href="QStyle.html"><tt>QStyle</tt></a> functions need to draw <a href="QToolButton.html"><tt>QToolButton</tt></a>.</p> <p>For performance reasons, the access to the member variables is direct (i.e., using the <tt>.</tt> or <tt>-></tt> operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.</p> <p>For an example demonstrating how style options can be used, see the Styles</tt> example.</p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a>, <a href="QStyleOptionComplex.html#QStyleOptionComplex(int, int)"><tt>QStyleOptionComplex</tt></a>, <a href="QStyleOptionButton.html"><tt>QStyleOptionButton</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> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.StyleOptionType.html" title="enum in com.trolltech.qt.gui">QStyleOptionToolButton.StyleOptionType</A></B></CODE> <BR> This enum is used to hold information about the type of the style option, and is defined for each <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclass.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.StyleOptionVersion.html" title="enum in com.trolltech.qt.gui">QStyleOptionToolButton.StyleOptionVersion</A></B></CODE> <BR> This enum is used to hold information about the version of the style option, and is defined for each <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclass.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.ToolButtonFeature.html" title="enum in com.trolltech.qt.gui">QStyleOptionToolButton.ToolButtonFeature</A></B></CODE> <BR> Describes the various features that a tool button can have.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.ToolButtonFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton.ToolButtonFeatures</A></B></CODE> <BR> This QFlag class provides flags for the int enum.</TD> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.gui.QStyleOption"><!-- --></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/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyleOption.OptionType.html" title="enum in com.trolltech.qt.gui">QStyleOption.OptionType</A></CODE></TD> </TR> </TABLE> <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><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<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>></CODE></TD> </TR> </TABLE> <!-- ======== 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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#QStyleOptionToolButton()">QStyleOptionToolButton</A></B>()</CODE> <BR> Constructs a <a href="QStyleOptionToolButton.html#QStyleOptionToolButton(int)"><tt>QStyleOptionToolButton</tt></a>, initializing the members variables to their default values.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#QStyleOptionToolButton(int)">QStyleOptionToolButton</A></B>(int version)</CODE> <BR> 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> </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#QStyleOptionToolButton(com.trolltech.qt.gui.QStyleOptionToolButton)">QStyleOptionToolButton</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton</A> other)</CODE> <BR> Constructs a copy of the <tt>other</tt> style option.</TD> </TR> </TABLE> <!-- ========== 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> <A HREF="../../../../com/trolltech/qt/core/Qt.ArrowType.html" title="enum in com.trolltech.qt.core">Qt.ArrowType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#arrowType()">arrowType</A></B>()</CODE> <BR> Returns the direction of the arrow for the tool button.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.ToolButtonFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton.ToolButtonFeatures</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#features()">features</A></B>()</CODE> <BR> Returns an OR combination of the tool button's features.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#font()">font</A></B>()</CODE> <BR> Returns the font that is used for the text.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QStyleOptionToolButton instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/QStyleOptionToolButton.html#icon()">icon</A></B>()</CODE> <BR> Returns the icon for the tool button.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/QStyleOptionToolButton.html#iconSize()">iconSize</A></B>()</CODE> <BR> Returns the size of the icon for the tool button.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#nativePointerArray(com.trolltech.qt.gui.QStyleOptionToolButton[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton</A>[] array)</CODE> <BR> This function returns a QNativePointer that is pointing to the specified QStyleOptionToolButton array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#pos()">pos</A></B>()</CODE> <BR> Returns the position of the tool button.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#setArrowType(com.trolltech.qt.core.Qt.ArrowType)">setArrowType</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ArrowType.html" title="enum in com.trolltech.qt.core">Qt.ArrowType</A> arrowType)</CODE> <BR> Sets the direction of the arrow for the tool button to <tt>arrowType</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#setFeatures(com.trolltech.qt.gui.QStyleOptionToolButton.ToolButtonFeature...)">setFeatures</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.ToolButtonFeature.html" title="enum in com.trolltech.qt.gui">QStyleOptionToolButton.ToolButtonFeature</A>... features)</CODE> <BR> Sets an OR combination of the tool button's features to <tt>features</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#setFeatures(com.trolltech.qt.gui.QStyleOptionToolButton.ToolButtonFeatures)">setFeatures</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.ToolButtonFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton.ToolButtonFeatures</A> features)</CODE> <BR> Sets an OR combination of the tool button's features to <tt>features</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#setFont(com.trolltech.qt.gui.QFont)">setFont</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> font)</CODE> <BR> Sets the font that is used for the text to <tt>font</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#setIcon(com.trolltech.qt.gui.QIcon)">setIcon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> icon)</CODE> <BR> Sets the icon for the tool button to <tt>icon</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#setIconSize(com.trolltech.qt.core.QSize)">setIconSize</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> iconSize)</CODE> <BR> Sets the size of the icon for the tool button to <tt>iconSize</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#setPos(com.trolltech.qt.core.QPoint)">setPos</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> pos)</CODE> <BR> Sets the position of the tool button to <tt>pos</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#setText(java.lang.String)">setText</A></B>(java.lang.String text)</CODE> <BR> Sets the text of the tool button to <tt>text</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#setToolButtonStyle(com.trolltech.qt.core.Qt.ToolButtonStyle)">setToolButtonStyle</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ToolButtonStyle.html" title="enum in com.trolltech.qt.core">Qt.ToolButtonStyle</A> toolButtonStyle)</CODE> <BR> Sets a Qt::ToolButtonStyle value describing the appearance of the tool button to <tt>toolButtonStyle</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#text()">text</A></B>()</CODE> <BR> Returns the text of the tool button.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.ToolButtonStyle.html" title="enum in com.trolltech.qt.core">Qt.ToolButtonStyle</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html#toolButtonStyle()">toolButtonStyle</A></B>()</CODE> <BR> Returns a Qt::ToolButtonStyle value describing the appearance of the tool button.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.gui.QStyleOptionComplex"><!-- --></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/QStyleOptionComplex.html" title="class in com.trolltech.qt.gui">QStyleOptionComplex</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html#activeSubControls()">activeSubControls</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html#nativePointerArray(com.trolltech.qt.gui.QStyleOptionComplex[])">nativePointerArray</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html#setActiveSubControls(int)">setActiveSubControls</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html#setSubControls(int)">setSubControls</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionComplex.html#subControls()">subControls</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.gui.QStyleOption"><!-- --></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/QStyleOption.html" title="class in com.trolltech.qt.gui">QStyleOption</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#direction()">direction</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#fontMetrics()">fontMetrics</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#initFrom(com.trolltech.qt.gui.QWidget)">initFrom</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#nativePointerArray(com.trolltech.qt.gui.QStyleOption[])">nativePointerArray</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#palette()">palette</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#rect()">rect</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#setDirection(com.trolltech.qt.core.Qt.LayoutDirection)">setDirection</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#setFontMetrics(com.trolltech.qt.gui.QFontMetrics)">setFontMetrics</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#setPalette(com.trolltech.qt.gui.QPalette)">setPalette</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#setRect(com.trolltech.qt.core.QRect)">setRect</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#setState(com.trolltech.qt.gui.QStyle.State)">setState</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#setState(com.trolltech.qt.gui.QStyle.StateFlag...)">setState</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#setType(int)">setType</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#setVersion(int)">setVersion</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#state()">state</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#type()">type</A>, <A HREF="../../../../com/trolltech/qt/gui/QStyleOption.html#version()">version</A></CODE></TD> </TR> </TABLE> <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> <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#blockSignals(boolean)">blockSignals</A>, <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#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD> </TR> </TABLE> <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> <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> <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="QStyleOptionToolButton(com.trolltech.qt.gui.QStyleOptionToolButton)"><!-- --></A><H3> QStyleOptionToolButton</H3> <PRE> public <B>QStyleOptionToolButton</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton</A> other)</PRE> <DL> <DD><p>Constructs a copy of the <tt>other</tt> style option.</p> <P> </DL> <HR> <A NAME="QStyleOptionToolButton()"><!-- --></A><H3> QStyleOptionToolButton</H3> <PRE> public <B>QStyleOptionToolButton</B>()</PRE> <DL> <DD><p>Constructs a <a href="QStyleOptionToolButton.html#QStyleOptionToolButton(int)"><tt>QStyleOptionToolButton</tt></a>, initializing the members variables to their default values.</p> <P> </DL> <HR> <A NAME="QStyleOptionToolButton(int)"><!-- --></A><H3> QStyleOptionToolButton</H3> <PRE> protected <B>QStyleOptionToolButton</B>(int version)</PRE> <DL> <DD><p>This method is used internally by Qt Jambi. Do not use it in your applications.</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="setIconSize(com.trolltech.qt.core.QSize)"><!-- --></A><H3> setIconSize</H3> <PRE> public final void <B>setIconSize</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> iconSize)</PRE> <DL> <DD><p>Sets the size of the icon for the tool button to <tt>iconSize</tt>.</p> <p>The default value is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(-1, -1), i.e. an invalid size.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#iconSize()"><tt>iconSize</tt></a></DL> </DD> </DL> <HR> <A NAME="iconSize()"><!-- --></A><H3> iconSize</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>iconSize</B>()</PRE> <DL> <DD><p>Returns the size of the icon for the tool button.</p> <p>The default value is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(-1, -1), i.e. an invalid size.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#setIconSize(com.trolltech.qt.core.QSize)"><tt>setIconSize</tt></a></DL> </DD> </DL> <HR> <A NAME="setToolButtonStyle(com.trolltech.qt.core.Qt.ToolButtonStyle)"><!-- --></A><H3> setToolButtonStyle</H3> <PRE> public final void <B>setToolButtonStyle</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ToolButtonStyle.html" title="enum in com.trolltech.qt.core">Qt.ToolButtonStyle</A> toolButtonStyle)</PRE> <DL> <DD><p>Sets a Qt::ToolButtonStyle value describing the appearance of the tool button to <tt>toolButtonStyle</tt>.</p> <p>The default value is Qt::ToolButtonIconOnly.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QToolButton::toolButtonStyle</tt></DL> </DD> </DL> <HR> <A NAME="toolButtonStyle()"><!-- --></A><H3> toolButtonStyle</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.ToolButtonStyle.html" title="enum in com.trolltech.qt.core">Qt.ToolButtonStyle</A> <B>toolButtonStyle</B>()</PRE> <DL> <DD><p>Returns a Qt::ToolButtonStyle value describing the appearance of the tool button.</p> <p>The default value is Qt::ToolButtonIconOnly.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#setToolButtonStyle(com.trolltech.qt.core.Qt.ToolButtonStyle)"><tt>setToolButtonStyle</tt></a>, <tt>QToolButton::toolButtonStyle</tt></DL> </DD> </DL> <HR> <A NAME="setFeatures(com.trolltech.qt.gui.QStyleOptionToolButton.ToolButtonFeature...)"><!-- --></A><H3> setFeatures</H3> <PRE> public final void <B>setFeatures</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.ToolButtonFeature.html" title="enum in com.trolltech.qt.gui">QStyleOptionToolButton.ToolButtonFeature</A>... features)</PRE> <DL> <DD><p>Sets an OR combination of the tool button's features to <tt>features</tt>.</p> <p>The default value is <a href="QStyleOptionToolButton.html#ToolButtonFeature-enum">None</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#features()"><tt>features</tt></a>, <a href="QStyleOptionToolButton.html#ToolButtonFeature-enum"><tt>ToolButtonFeature</tt></a></DL> </DD> </DL> <HR> <A NAME="setFeatures(com.trolltech.qt.gui.QStyleOptionToolButton.ToolButtonFeatures)"><!-- --></A><H3> setFeatures</H3> <PRE> public final void <B>setFeatures</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.ToolButtonFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton.ToolButtonFeatures</A> features)</PRE> <DL> <DD><p>Sets an OR combination of the tool button's features to <tt>features</tt>.</p> <p>The default value is <a href="QStyleOptionToolButton.html#ToolButtonFeature-enum">None</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#features()"><tt>features</tt></a>, <a href="QStyleOptionToolButton.html#ToolButtonFeature-enum"><tt>ToolButtonFeature</tt></a></DL> </DD> </DL> <HR> <A NAME="features()"><!-- --></A><H3> features</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.ToolButtonFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton.ToolButtonFeatures</A> <B>features</B>()</PRE> <DL> <DD><p>Returns an OR combination of the tool button's features.</p> <p>The default value is <a href="QStyleOptionToolButton.html#ToolButtonFeature-enum">None</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#setFeatures(com.trolltech.qt.gui.QStyleOptionToolButton.ToolButtonFeatures)"><tt>setFeatures</tt></a>, <a href="QStyleOptionToolButton.html#ToolButtonFeature-enum"><tt>ToolButtonFeature</tt></a></DL> </DD> </DL> <HR> <A NAME="setArrowType(com.trolltech.qt.core.Qt.ArrowType)"><!-- --></A><H3> setArrowType</H3> <PRE> public final void <B>setArrowType</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ArrowType.html" title="enum in com.trolltech.qt.core">Qt.ArrowType</A> arrowType)</PRE> <DL> <DD><p>Sets the direction of the arrow for the tool button to <tt>arrowType</tt>.</p> <p>This value is only used if <a href="QStyleOptionToolButton.html#features()">features</tt></a> includes <a href="QStyleOptionToolButton.html#ToolButtonFeature-enum">Arrow</tt></a>. The default value is Qt::DownArrow.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#arrowType()"><tt>arrowType</tt></a></DL> </DD> </DL> <HR> <A NAME="arrowType()"><!-- --></A><H3> arrowType</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.ArrowType.html" title="enum in com.trolltech.qt.core">Qt.ArrowType</A> <B>arrowType</B>()</PRE> <DL> <DD><p>Returns the direction of the arrow for the tool button.</p> <p>This value is only used if <a href="QStyleOptionToolButton.html#features()">features</tt></a> includes <a href="QStyleOptionToolButton.html#ToolButtonFeature-enum">Arrow</tt></a>. The default value is Qt::DownArrow.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#setArrowType(com.trolltech.qt.core.Qt.ArrowType)"><tt>setArrowType</tt></a></DL> </DD> </DL> <HR> <A NAME="setIcon(com.trolltech.qt.gui.QIcon)"><!-- --></A><H3> setIcon</H3> <PRE> public final void <B>setIcon</B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> icon)</PRE> <DL> <DD><p>Sets the icon for the tool button to <tt>icon</tt>.</p> <p>The default value is an empty icon, i.e. an icon with neither a pixmap nor a filename.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#iconSize()"><tt>iconSize</tt></a></DL> </DD> </DL> <HR> <A NAME="icon()"><!-- --></A><H3> icon</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>icon</B>()</PRE> <DL> <DD><p>Returns the icon for the tool button.</p> <p>The default value is an empty icon, i.e. an icon with neither a pixmap nor a filename.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#setIcon(com.trolltech.qt.gui.QIcon)"><tt>setIcon</tt></a>, <a href="QStyleOptionToolButton.html#iconSize()"><tt>iconSize</tt></a></DL> </DD> </DL> <HR> <A NAME="setPos(com.trolltech.qt.core.QPoint)"><!-- --></A><H3> setPos</H3> <PRE> public final void <B>setPos</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> pos)</PRE> <DL> <DD><p>Sets the position of the tool button to <tt>pos</tt>.</p> <p>The default value is a null point, i.e. (0, 0)</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#pos()"><tt>pos</tt></a></DL> </DD> </DL> <HR> <A NAME="pos()"><!-- --></A><H3> pos</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>pos</B>()</PRE> <DL> <DD><p>Returns the position of the tool button.</p> <p>The default value is a null point, i.e. (0, 0)</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#setPos(com.trolltech.qt.core.QPoint)"><tt>setPos</tt></a></DL> </DD> </DL> <HR> <A NAME="setText(java.lang.String)"><!-- --></A><H3> setText</H3> <PRE> public final void <B>setText</B>(java.lang.String text)</PRE> <DL> <DD><p>Sets the text of the tool button to <tt>text</tt>.</p> <p>This value is only used if <a href="QStyleOptionToolButton.html#toolButtonStyle()"><tt>toolButtonStyle</tt></a> is Qt::ToolButtonTextUnderIcon, Qt::ToolButtonTextBesideIcon, or Qt::ToolButtonTextOnly. The default value is an empty string.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#text()"><tt>text</tt></a></DL> </DD> </DL> <HR> <A NAME="text()"><!-- --></A><H3> text</H3> <PRE> public final java.lang.String <B>text</B>()</PRE> <DL> <DD><p>Returns the text of the tool button.</p> <p>This value is only used if <a href="QStyleOptionToolButton.html#toolButtonStyle()"><tt>toolButtonStyle</tt></a> is Qt::ToolButtonTextUnderIcon, Qt::ToolButtonTextBesideIcon, or Qt::ToolButtonTextOnly. The default value is an empty string.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#setText(java.lang.String)"><tt>setText</tt></a></DL> </DD> </DL> <HR> <A NAME="setFont(com.trolltech.qt.gui.QFont)"><!-- --></A><H3> setFont</H3> <PRE> public final void <B>setFont</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> font)</PRE> <DL> <DD><p>Sets the font that is used for the text to <tt>font</tt>.</p> <p>This value is only used if <a href="QStyleOptionToolButton.html#toolButtonStyle()"><tt>toolButtonStyle</tt></a> is Qt::ToolButtonTextUnderIcon, Qt::ToolButtonTextBesideIcon, or Qt::ToolButtonTextOnly. By default, the application's default font is used.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#font()"><tt>font</tt></a></DL> </DD> </DL> <HR> <A NAME="font()"><!-- --></A><H3> font</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> <B>font</B>()</PRE> <DL> <DD><p>Returns the font that is used for the text.</p> <p>This value is only used if <a href="QStyleOptionToolButton.html#toolButtonStyle()"><tt>toolButtonStyle</tt></a> is Qt::ToolButtonTextUnderIcon, Qt::ToolButtonTextBesideIcon, or Qt::ToolButtonTextOnly. By default, the application's default font is used.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionToolButton.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</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/QStyleOptionToolButton.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QStyleOptionToolButton instance pointed to by nativePointer <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL> </DD> </DL> <HR> <A NAME="nativePointerArray(com.trolltech.qt.gui.QStyleOptionToolButton[])"><!-- --></A><H3> nativePointerArray</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton</A>[] array)</PRE> <DL> <DD>This function returns a QNativePointer that is pointing to the specified QStyleOptionToolButton array. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to. <DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolBoxV2.TabPosition.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionToolButton.StyleOptionType.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QStyleOptionToolButton.html" target="_top"><B>FRAMES</B></A> <A HREF="QStyleOptionToolButton.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>