<!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:27 CEST 2007 --> <TITLE> QStyleOptionSlider </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.gui.QStyleOptionSlider class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QStyleOptionSlider"; } </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/QStyleOptionSizeGrip.StyleOptionVersion.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.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/QStyleOptionSlider.html" target="_top"><B>FRAMES</B></A> <A HREF="QStyleOptionSlider.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 QStyleOptionSlider</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.QStyleOptionSlider</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>QStyleOptionSlider</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="QStyleOptionSlider.html#QStyleOptionSlider(int)"><tt>QStyleOptionSlider</tt></a> class is used to describe the parameters needed for drawing a slider.</p> <p><a href="QStyleOptionSlider.html#QStyleOptionSlider(int)"><tt>QStyleOptionSlider</tt></a> contains all the information that <a href="QStyle.html"><tt>QStyle</tt></a> functions need to draw <a href="QSlider.html"><tt>QSlider</tt></a> and <a href="QScrollBar.html"><tt>QScrollBar</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="QStyleOptionComplex.html#QStyleOptionComplex(int, int)"><tt>QStyleOptionComplex</tt></a>, <a href="QSlider.html"><tt>QSlider</tt></a>, <a href="QScrollBar.html"><tt>QScrollBar</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/QStyleOptionSlider.StyleOptionType.html" title="enum in com.trolltech.qt.gui">QStyleOptionSlider.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/QStyleOptionSlider.StyleOptionVersion.html" title="enum in com.trolltech.qt.gui">QStyleOptionSlider.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> </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/QStyleOptionSlider.html#QStyleOptionSlider()">QStyleOptionSlider</A></B>()</CODE> <BR> Constructs a <a href="QStyleOptionSlider.html#QStyleOptionSlider(int)"><tt>QStyleOptionSlider</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/QStyleOptionSlider.html#QStyleOptionSlider(int)">QStyleOptionSlider</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/QStyleOptionSlider.html#QStyleOptionSlider(com.trolltech.qt.gui.QStyleOptionSlider)">QStyleOptionSlider</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html" title="class in com.trolltech.qt.gui">QStyleOptionSlider</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> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#dialWrapping()">dialWrapping</A></B>()</CODE> <BR> Returns whether the dial should wrap or not.</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/QStyleOptionSlider.html" title="class in com.trolltech.qt.gui">QStyleOptionSlider</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.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 QStyleOptionSlider instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#maximum()">maximum</A></B>()</CODE> <BR> Returns the maximum value for the slider.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#minimum()">minimum</A></B>()</CODE> <BR> Returns the minimum value for the slider.</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/QStyleOptionSlider.html#nativePointerArray(com.trolltech.qt.gui.QStyleOptionSlider[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html" title="class in com.trolltech.qt.gui">QStyleOptionSlider</A>[] array)</CODE> <BR> This function returns a QNativePointer that is pointing to the specified QStyleOptionSlider array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#notchTarget()">notchTarget</A></B>()</CODE> <BR> Returns the number of pixel between notches.</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.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#orientation()">orientation</A></B>()</CODE> <BR> Returns the slider's orientation (horizontal or vertical).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#pageStep()">pageStep</A></B>()</CODE> <BR> Returns the size of the page step of the slider.</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/QStyleOptionSlider.html#setDialWrapping(boolean)">setDialWrapping</A></B>(boolean dialWrapping)</CODE> <BR> Sets whether the dial should wrap or not to <tt>dialWrapping</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/QStyleOptionSlider.html#setMaximum(int)">setMaximum</A></B>(int maximum)</CODE> <BR> Sets the maximum value for the slider to <tt>maximum</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/QStyleOptionSlider.html#setMinimum(int)">setMinimum</A></B>(int minimum)</CODE> <BR> Sets the minimum value for the slider to <tt>minimum</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/QStyleOptionSlider.html#setNotchTarget(double)">setNotchTarget</A></B>(double notchTarget)</CODE> <BR> Sets the number of pixel between notches to <tt>notchTarget</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/QStyleOptionSlider.html#setOrientation(com.trolltech.qt.core.Qt.Orientation)">setOrientation</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A> orientation)</CODE> <BR> Sets the slider's orientation (horizontal or vertical) to <tt>orientation</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/QStyleOptionSlider.html#setPageStep(int)">setPageStep</A></B>(int pageStep)</CODE> <BR> Sets the size of the page step of the slider to <tt>pageStep</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/QStyleOptionSlider.html#setSingleStep(int)">setSingleStep</A></B>(int singleStep)</CODE> <BR> Sets the size of the single step of the slider to <tt>singleStep</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/QStyleOptionSlider.html#setSliderPosition(int)">setSliderPosition</A></B>(int sliderPosition)</CODE> <BR> Sets the position of the slider handle to <tt>sliderPosition</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/QStyleOptionSlider.html#setSliderValue(int)">setSliderValue</A></B>(int sliderValue)</CODE> <BR> Sets the value of the slider to <tt>sliderValue</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/QStyleOptionSlider.html#setTickInterval(int)">setTickInterval</A></B>(int tickInterval)</CODE> <BR> Sets the interval that should be drawn between tick marks to <tt>tickInterval</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/QStyleOptionSlider.html#setTickPosition(com.trolltech.qt.gui.QSlider.TickPosition)">setTickPosition</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSlider.TickPosition.html" title="enum in com.trolltech.qt.gui">QSlider.TickPosition</A> tickPosition)</CODE> <BR> Sets the position of the slider's tick marks, if any to <tt>tickPosition</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/QStyleOptionSlider.html#setUpsideDown(boolean)">setUpsideDown</A></B>(boolean upsideDown)</CODE> <BR> Sets the slider control orientation to <tt>upsideDown</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#singleStep()">singleStep</A></B>()</CODE> <BR> Returns the size of the single step of the slider.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#sliderPosition()">sliderPosition</A></B>()</CODE> <BR> Returns the position of the slider handle.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#sliderValue()">sliderValue</A></B>()</CODE> <BR> Returns the value of the slider.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#tickInterval()">tickInterval</A></B>()</CODE> <BR> Returns the interval that should be drawn between tick marks.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QSlider.TickPosition.html" title="enum in com.trolltech.qt.gui">QSlider.TickPosition</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#tickPosition()">tickPosition</A></B>()</CODE> <BR> Returns the position of the slider's tick marks, if any.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html#upsideDown()">upsideDown</A></B>()</CODE> <BR> Returns the slider control orientation.</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="QStyleOptionSlider(com.trolltech.qt.gui.QStyleOptionSlider)"><!-- --></A><H3> QStyleOptionSlider</H3> <PRE> public <B>QStyleOptionSlider</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html" title="class in com.trolltech.qt.gui">QStyleOptionSlider</A> other)</PRE> <DL> <DD><p>Constructs a copy of the <tt>other</tt> style option.</p> <P> </DL> <HR> <A NAME="QStyleOptionSlider()"><!-- --></A><H3> QStyleOptionSlider</H3> <PRE> public <B>QStyleOptionSlider</B>()</PRE> <DL> <DD><p>Constructs a <a href="QStyleOptionSlider.html#QStyleOptionSlider(int)"><tt>QStyleOptionSlider</tt></a>, initializing the members variables to their default values.</p> <P> </DL> <HR> <A NAME="QStyleOptionSlider(int)"><!-- --></A><H3> QStyleOptionSlider</H3> <PRE> protected <B>QStyleOptionSlider</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="setTickInterval(int)"><!-- --></A><H3> setTickInterval</H3> <PRE> public final void <B>setTickInterval</B>(int tickInterval)</PRE> <DL> <DD><p>Sets the interval that should be drawn between tick marks to <tt>tickInterval</tt>.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#tickInterval()"><tt>tickInterval</tt></a></DL> </DD> </DL> <HR> <A NAME="tickInterval()"><!-- --></A><H3> tickInterval</H3> <PRE> public final int <B>tickInterval</B>()</PRE> <DL> <DD><p>Returns the interval that should be drawn between tick marks.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setTickInterval(int)"><tt>setTickInterval</tt></a></DL> </DD> </DL> <HR> <A NAME="setMinimum(int)"><!-- --></A><H3> setMinimum</H3> <PRE> public final void <B>setMinimum</B>(int minimum)</PRE> <DL> <DD><p>Sets the minimum value for the slider to <tt>minimum</tt>.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#minimum()"><tt>minimum</tt></a></DL> </DD> </DL> <HR> <A NAME="minimum()"><!-- --></A><H3> minimum</H3> <PRE> public final int <B>minimum</B>()</PRE> <DL> <DD><p>Returns the minimum value for the slider.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setMinimum(int)"><tt>setMinimum</tt></a></DL> </DD> </DL> <HR> <A NAME="setNotchTarget(double)"><!-- --></A><H3> setNotchTarget</H3> <PRE> public final void <B>setNotchTarget</B>(double notchTarget)</PRE> <DL> <DD><p>Sets the number of pixel between notches to <tt>notchTarget</tt>.</p> <p>The default value is 0.0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QDial::notchTarget</tt></DL> </DD> </DL> <HR> <A NAME="notchTarget()"><!-- --></A><H3> notchTarget</H3> <PRE> public final double <B>notchTarget</B>()</PRE> <DL> <DD><p>Returns the number of pixel between notches.</p> <p>The default value is 0.0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setNotchTarget(double)"><tt>setNotchTarget</tt></a>, <tt>QDial::notchTarget</tt></DL> </DD> </DL> <HR> <A NAME="setMaximum(int)"><!-- --></A><H3> setMaximum</H3> <PRE> public final void <B>setMaximum</B>(int maximum)</PRE> <DL> <DD><p>Sets the maximum value for the slider to <tt>maximum</tt>.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#maximum()"><tt>maximum</tt></a></DL> </DD> </DL> <HR> <A NAME="maximum()"><!-- --></A><H3> maximum</H3> <PRE> public final int <B>maximum</B>()</PRE> <DL> <DD><p>Returns the maximum value for the slider.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setMaximum(int)"><tt>setMaximum</tt></a></DL> </DD> </DL> <HR> <A NAME="setSliderPosition(int)"><!-- --></A><H3> setSliderPosition</H3> <PRE> public final void <B>setSliderPosition</B>(int sliderPosition)</PRE> <DL> <DD><p>Sets the position of the slider handle to <tt>sliderPosition</tt>.</p> <p>If the slider has active feedback (i.e., QAbstractSlider::tracking is true), this value will be the same as <a href="QStyleOptionSlider.html#sliderValue()"><tt>sliderValue</tt></a>. Otherwise, it will have the current position of the handle. The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#sliderPosition()"><tt>sliderPosition</tt></a>, <tt>QAbstractSlider::tracking</tt>, <a href="QStyleOptionSlider.html#sliderValue()"><tt>sliderValue</tt></a></DL> </DD> </DL> <HR> <A NAME="sliderPosition()"><!-- --></A><H3> sliderPosition</H3> <PRE> public final int <B>sliderPosition</B>()</PRE> <DL> <DD><p>Returns the position of the slider handle.</p> <p>If the slider has active feedback (i.e., QAbstractSlider::tracking is true), this value will be the same as <a href="QStyleOptionSlider.html#sliderValue()"><tt>sliderValue</tt></a>. Otherwise, it will have the current position of the handle. The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setSliderPosition(int)"><tt>setSliderPosition</tt></a>, <tt>QAbstractSlider::tracking</tt>, <a href="QStyleOptionSlider.html#sliderValue()"><tt>sliderValue</tt></a></DL> </DD> </DL> <HR> <A NAME="setDialWrapping(boolean)"><!-- --></A><H3> setDialWrapping</H3> <PRE> public final void <B>setDialWrapping</B>(boolean dialWrapping)</PRE> <DL> <DD><p>Sets whether the dial should wrap or not to <tt>dialWrapping</tt>.</p> <p>The default value is false, i.e. the dial is not wrapped.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#dialWrapping()"><tt>dialWrapping</tt></a>, <tt>QDial::wrapping</tt></DL> </DD> </DL> <HR> <A NAME="dialWrapping()"><!-- --></A><H3> dialWrapping</H3> <PRE> public final boolean <B>dialWrapping</B>()</PRE> <DL> <DD><p>Returns whether the dial should wrap or not.</p> <p>The default value is false, i.e. the dial is not wrapped.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setDialWrapping(boolean)"><tt>setDialWrapping</tt></a>, <tt>QDial::wrapping</tt></DL> </DD> </DL> <HR> <A NAME="setSliderValue(int)"><!-- --></A><H3> setSliderValue</H3> <PRE> public final void <B>setSliderValue</B>(int sliderValue)</PRE> <DL> <DD><p>Sets the value of the slider to <tt>sliderValue</tt>.</p> <p>If the slider has active feedback (i.e., QAbstractSlider::tracking is true), this value will be the same as <a href="QStyleOptionSlider.html#sliderPosition()"><tt>sliderPosition</tt></a>. Otherwise, it will have the value the slider had before the mouse was pressed.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#sliderValue()"><tt>sliderValue</tt></a>, <tt>QAbstractSlider::tracking</tt>, <a href="QStyleOptionSlider.html#sliderPosition()"><tt>sliderPosition</tt></a></DL> </DD> </DL> <HR> <A NAME="sliderValue()"><!-- --></A><H3> sliderValue</H3> <PRE> public final int <B>sliderValue</B>()</PRE> <DL> <DD><p>Returns the value of the slider.</p> <p>If the slider has active feedback (i.e., QAbstractSlider::tracking is true), this value will be the same as <a href="QStyleOptionSlider.html#sliderPosition()"><tt>sliderPosition</tt></a>. Otherwise, it will have the value the slider had before the mouse was pressed.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setSliderValue(int)"><tt>setSliderValue</tt></a>, <tt>QAbstractSlider::tracking</tt>, <a href="QStyleOptionSlider.html#sliderPosition()"><tt>sliderPosition</tt></a></DL> </DD> </DL> <HR> <A NAME="setSingleStep(int)"><!-- --></A><H3> setSingleStep</H3> <PRE> public final void <B>setSingleStep</B>(int singleStep)</PRE> <DL> <DD><p>Sets the size of the single step of the slider to <tt>singleStep</tt>.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QAbstractSlider::singleStep</tt></DL> </DD> </DL> <HR> <A NAME="singleStep()"><!-- --></A><H3> singleStep</H3> <PRE> public final int <B>singleStep</B>()</PRE> <DL> <DD><p>Returns the size of the single step of the slider.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setSingleStep(int)"><tt>setSingleStep</tt></a>, <tt>QAbstractSlider::singleStep</tt></DL> </DD> </DL> <HR> <A NAME="setTickPosition(com.trolltech.qt.gui.QSlider.TickPosition)"><!-- --></A><H3> setTickPosition</H3> <PRE> public final void <B>setTickPosition</B>(<A HREF="../../../../com/trolltech/qt/gui/QSlider.TickPosition.html" title="enum in com.trolltech.qt.gui">QSlider.TickPosition</A> tickPosition)</PRE> <DL> <DD><p>Sets the position of the slider's tick marks, if any to <tt>tickPosition</tt>.</p> <p>The default value is QSlider::NoTicks.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#tickPosition()"><tt>tickPosition</tt></a>, <tt>QSlider::TickPosition</tt></DL> </DD> </DL> <HR> <A NAME="tickPosition()"><!-- --></A><H3> tickPosition</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QSlider.TickPosition.html" title="enum in com.trolltech.qt.gui">QSlider.TickPosition</A> <B>tickPosition</B>()</PRE> <DL> <DD><p>Returns the position of the slider's tick marks, if any.</p> <p>The default value is QSlider::NoTicks.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setTickPosition(com.trolltech.qt.gui.QSlider.TickPosition)"><tt>setTickPosition</tt></a>, <tt>QSlider::TickPosition</tt></DL> </DD> </DL> <HR> <A NAME="setPageStep(int)"><!-- --></A><H3> setPageStep</H3> <PRE> public final void <B>setPageStep</B>(int pageStep)</PRE> <DL> <DD><p>Sets the size of the page step of the slider to <tt>pageStep</tt>.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QAbstractSlider::pageStep</tt></DL> </DD> </DL> <HR> <A NAME="pageStep()"><!-- --></A><H3> pageStep</H3> <PRE> public final int <B>pageStep</B>()</PRE> <DL> <DD><p>Returns the size of the page step of the slider.</p> <p>The default value is 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setPageStep(int)"><tt>setPageStep</tt></a>, <tt>QAbstractSlider::pageStep</tt></DL> </DD> </DL> <HR> <A NAME="setOrientation(com.trolltech.qt.core.Qt.Orientation)"><!-- --></A><H3> setOrientation</H3> <PRE> public final void <B>setOrientation</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A> orientation)</PRE> <DL> <DD><p>Sets the slider's orientation (horizontal or vertical) to <tt>orientation</tt>.</p> <p>The default orientation is Qt::Horizontal.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#orientation()"><tt>orientation</tt></a>, <CODE>Qt::Orientation</tt></CODE></DL> </DD> </DL> <HR> <A NAME="orientation()"><!-- --></A><H3> orientation</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.Orientation.html" title="enum in com.trolltech.qt.core">Qt.Orientation</A> <B>orientation</B>()</PRE> <DL> <DD><p>Returns the slider's orientation (horizontal or vertical).</p> <p>The default orientation is Qt::Horizontal.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setOrientation(com.trolltech.qt.core.Qt.Orientation)"><tt>setOrientation</tt></a>, <CODE>Qt::Orientation</tt></CODE></DL> </DD> </DL> <HR> <A NAME="setUpsideDown(boolean)"><!-- --></A><H3> setUpsideDown</H3> <PRE> public final void <B>setUpsideDown</B>(boolean upsideDown)</PRE> <DL> <DD><p>Sets the slider control orientation to <tt>upsideDown</tt>.</p> <p>Normally a slider increases as it moves up or to the right; <a href="QStyleOptionSlider.html#upsideDown()"><tt>upsideDown</tt></a> indicates that it should do the opposite (increase as it moves down or to the left). The default value is false, i.e. the slider increases as it moves up or to the right.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#upsideDown()"><tt>upsideDown</tt></a>, <tt>QStyle::sliderPositionFromValue</tt>, <tt>QStyle::sliderValueFromPosition</tt>, <tt>QAbstractSlider::invertedAppearance</tt></DL> </DD> </DL> <HR> <A NAME="upsideDown()"><!-- --></A><H3> upsideDown</H3> <PRE> public final boolean <B>upsideDown</B>()</PRE> <DL> <DD><p>Returns the slider control orientation.</p> <p>Normally a slider increases as it moves up or to the right; <a href="QStyleOptionSlider.html#upsideDown()"><tt>upsideDown</tt></a> indicates that it should do the opposite (increase as it moves down or to the left). The default value is false, i.e. the slider increases as it moves up or to the right.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStyleOptionSlider.html#setUpsideDown(boolean)"><tt>setUpsideDown</tt></a>, <tt>QStyle::sliderPositionFromValue</tt>, <tt>QStyle::sliderValueFromPosition</tt>, <tt>QAbstractSlider::invertedAppearance</tt></DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.html" title="class in com.trolltech.qt.gui">QStyleOptionSlider</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 QStyleOptionSlider 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.QStyleOptionSlider[])"><!-- --></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/QStyleOptionSlider.html" title="class in com.trolltech.qt.gui">QStyleOptionSlider</A>[] array)</PRE> <DL> <DD>This function returns a QNativePointer that is pointing to the specified QStyleOptionSlider 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/QStyleOptionSizeGrip.StyleOptionVersion.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionSlider.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/QStyleOptionSlider.html" target="_top"><B>FRAMES</B></A> <A HREF="QStyleOptionSlider.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>