Sophie

Sophie

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

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

<class name="QStyleOptionSlider" doc="/**
&lt;p&gt;The &lt;a href=&quot;QStyleOptionSlider.html#QStyleOptionSlider(int)&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt; class is used to describe the parameters needed for drawing a slider.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QStyleOptionSlider.html#QStyleOptionSlider(int)&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt; contains all the information that &lt;a href=&quot;QStyle.html&quot;&gt;&lt;tt&gt;QStyle&lt;/tt&gt;&lt;/a&gt; functions need to draw &lt;a href=&quot;QSlider.html&quot;&gt;&lt;tt&gt;QSlider&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QScrollBar.html&quot;&gt;&lt;tt&gt;QScrollBar&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For performance reasons, the access to the member variables is direct (i.e&amp;#x2e;, using the &lt;tt&gt;.&lt;/tt&gt; or &lt;tt&gt;-&amp;gt;&lt;/tt&gt; operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.&lt;/p&gt;
&lt;p&gt;For an example demonstrating how style options can be used, see the Styles&lt;/tt&gt; example.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComplex.html#QStyleOptionComplex(int, int)&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSlider.html&quot;&gt;&lt;tt&gt;QSlider&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QScrollBar.html&quot;&gt;&lt;tt&gt;QScrollBar&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QStyleOptionSlider(com.trolltech.qt.gui.QStyleOptionSlider other)" doc="/**
&lt;p&gt;Constructs a copy of the &lt;tt&gt;other&lt;/tt&gt; style option.&lt;/p&gt;
 */"/>
    <method name="public QStyleOptionSlider()" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QStyleOptionSlider.html#QStyleOptionSlider(int)&quot;&gt;&lt;tt&gt;QStyleOptionSlider&lt;/tt&gt;&lt;/a&gt;, initializing the members variables to their default values.&lt;/p&gt;
 */"/>
    <method name="protected QStyleOptionSlider(int version)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <enum name="StyleOptionVersion" doc="/**
&lt;p&gt;This enum is used to hold information about the version of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The version is used by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#StyleOptionType-enum&quot;&gt;&lt;tt&gt;StyleOptionType&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Version" doc="/**
&lt;p&gt;1&lt;/p&gt;
 */"/>
</enum>
    <enum name="StyleOptionType" doc="/**
&lt;p&gt;This enum is used to hold information about the type of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The type is used internally by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass and your own styles.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#StyleOptionVersion-enum&quot;&gt;&lt;tt&gt;StyleOptionVersion&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Type" doc="/**
&lt;p&gt;The type of style option provided (&lt;a href=&quot;QStyleOption.html#OptionType-enum&quot;&gt;&lt;tt&gt;SO_Slider&lt;/tt&gt;&lt;/a&gt; for this class).&lt;/p&gt;
 */"/>
</enum>
    <method name="public final int tickInterval()" doc="/**
&lt;p&gt;Returns the interval that should be drawn between tick marks.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setTickInterval(int)&quot;&gt;&lt;tt&gt;setTickInterval&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTickInterval(int tickInterval)" doc="/**
&lt;p&gt;Sets the interval that should be drawn between tick marks to &lt;tt&gt;tickInterval&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#tickInterval()&quot;&gt;&lt;tt&gt;tickInterval&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int minimum()" doc="/**
&lt;p&gt;Returns the minimum value for the slider.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setMinimum(int)&quot;&gt;&lt;tt&gt;setMinimum&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMinimum(int minimum)" doc="/**
&lt;p&gt;Sets the minimum value for the slider to &lt;tt&gt;minimum&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#minimum()&quot;&gt;&lt;tt&gt;minimum&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double notchTarget()" doc="/**
&lt;p&gt;Returns the number of pixel between notches.&lt;/p&gt;
&lt;p&gt;The default value is 0.0&amp;#x2e;&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setNotchTarget(double)&quot;&gt;&lt;tt&gt;setNotchTarget&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QDial::notchTarget&lt;/tt&gt; */"/>
    <method name="public final void setNotchTarget(double notchTarget)" doc="/**
&lt;p&gt;Sets the number of pixel between notches to &lt;tt&gt;notchTarget&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is 0.0&amp;#x2e;&lt;/p&gt;

@see &lt;tt&gt;QDial::notchTarget&lt;/tt&gt; */"/>
    <method name="public final int maximum()" doc="/**
&lt;p&gt;Returns the maximum value for the slider.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setMaximum(int)&quot;&gt;&lt;tt&gt;setMaximum&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMaximum(int maximum)" doc="/**
&lt;p&gt;Sets the maximum value for the slider to &lt;tt&gt;maximum&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#maximum()&quot;&gt;&lt;tt&gt;maximum&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int sliderPosition()" doc="/**
&lt;p&gt;Returns the position of the slider handle.&lt;/p&gt;
&lt;p&gt;If the slider has active feedback (i.e&amp;#x2e;, QAbstractSlider::tracking is true), this value will be the same as &lt;a href=&quot;QStyleOptionSlider.html#sliderValue()&quot;&gt;&lt;tt&gt;sliderValue&lt;/tt&gt;&lt;/a&gt;. Otherwise, it will have the current position of the handle. The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setSliderPosition(int)&quot;&gt;&lt;tt&gt;setSliderPosition&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QAbstractSlider::tracking&lt;/tt&gt;
@see &lt;a href=&quot;QStyleOptionSlider.html#sliderValue()&quot;&gt;&lt;tt&gt;sliderValue&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSliderPosition(int sliderPosition)" doc="/**
&lt;p&gt;Sets the position of the slider handle to &lt;tt&gt;sliderPosition&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the slider has active feedback (i.e&amp;#x2e;, QAbstractSlider::tracking is true), this value will be the same as &lt;a href=&quot;QStyleOptionSlider.html#sliderValue()&quot;&gt;&lt;tt&gt;sliderValue&lt;/tt&gt;&lt;/a&gt;. Otherwise, it will have the current position of the handle. The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#sliderPosition()&quot;&gt;&lt;tt&gt;sliderPosition&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QAbstractSlider::tracking&lt;/tt&gt;
@see &lt;a href=&quot;QStyleOptionSlider.html#sliderValue()&quot;&gt;&lt;tt&gt;sliderValue&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean dialWrapping()" doc="/**
&lt;p&gt;Returns whether the dial should wrap or not.&lt;/p&gt;
&lt;p&gt;The default value is false, i.e&amp;#x2e; the dial is not wrapped.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setDialWrapping(boolean)&quot;&gt;&lt;tt&gt;setDialWrapping&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QDial::wrapping&lt;/tt&gt; */"/>
    <method name="public final void setDialWrapping(boolean dialWrapping)" doc="/**
&lt;p&gt;Sets whether the dial should wrap or not to &lt;tt&gt;dialWrapping&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is false, i.e&amp;#x2e; the dial is not wrapped.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#dialWrapping()&quot;&gt;&lt;tt&gt;dialWrapping&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QDial::wrapping&lt;/tt&gt; */"/>
    <method name="public final int sliderValue()" doc="/**
&lt;p&gt;Returns the value of the slider.&lt;/p&gt;
&lt;p&gt;If the slider has active feedback (i.e&amp;#x2e;, QAbstractSlider::tracking is true), this value will be the same as &lt;a href=&quot;QStyleOptionSlider.html#sliderPosition()&quot;&gt;&lt;tt&gt;sliderPosition&lt;/tt&gt;&lt;/a&gt;. Otherwise, it will have the value the slider had before the mouse was pressed.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setSliderValue(int)&quot;&gt;&lt;tt&gt;setSliderValue&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QAbstractSlider::tracking&lt;/tt&gt;
@see &lt;a href=&quot;QStyleOptionSlider.html#sliderPosition()&quot;&gt;&lt;tt&gt;sliderPosition&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSliderValue(int sliderValue)" doc="/**
&lt;p&gt;Sets the value of the slider to &lt;tt&gt;sliderValue&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the slider has active feedback (i.e&amp;#x2e;, QAbstractSlider::tracking is true), this value will be the same as &lt;a href=&quot;QStyleOptionSlider.html#sliderPosition()&quot;&gt;&lt;tt&gt;sliderPosition&lt;/tt&gt;&lt;/a&gt;. Otherwise, it will have the value the slider had before the mouse was pressed.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#sliderValue()&quot;&gt;&lt;tt&gt;sliderValue&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QAbstractSlider::tracking&lt;/tt&gt;
@see &lt;a href=&quot;QStyleOptionSlider.html#sliderPosition()&quot;&gt;&lt;tt&gt;sliderPosition&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int singleStep()" doc="/**
&lt;p&gt;Returns the size of the single step of the slider.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setSingleStep(int)&quot;&gt;&lt;tt&gt;setSingleStep&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QAbstractSlider::singleStep&lt;/tt&gt; */"/>
    <method name="public final void setSingleStep(int singleStep)" doc="/**
&lt;p&gt;Sets the size of the single step of the slider to &lt;tt&gt;singleStep&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;tt&gt;QAbstractSlider::singleStep&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QSlider.TickPosition tickPosition()" doc="/**
&lt;p&gt;Returns the position of the slider's tick marks, if any.&lt;/p&gt;
&lt;p&gt;The default value is QSlider::NoTicks.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setTickPosition(com.trolltech.qt.gui.QSlider.TickPosition)&quot;&gt;&lt;tt&gt;setTickPosition&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QSlider::TickPosition&lt;/tt&gt; */"/>
    <method name="public final void setTickPosition(com.trolltech.qt.gui.QSlider.TickPosition tickPosition)" doc="/**
&lt;p&gt;Sets the position of the slider's tick marks, if any to &lt;tt&gt;tickPosition&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is QSlider::NoTicks.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#tickPosition()&quot;&gt;&lt;tt&gt;tickPosition&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QSlider::TickPosition&lt;/tt&gt; */"/>
    <method name="public final int pageStep()" doc="/**
&lt;p&gt;Returns the size of the page step of the slider.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setPageStep(int)&quot;&gt;&lt;tt&gt;setPageStep&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QAbstractSlider::pageStep&lt;/tt&gt; */"/>
    <method name="public final void setPageStep(int pageStep)" doc="/**
&lt;p&gt;Sets the size of the page step of the slider to &lt;tt&gt;pageStep&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;tt&gt;QAbstractSlider::pageStep&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.Orientation orientation()" doc="/**
&lt;p&gt;Returns the slider's orientation (horizontal or vertical).&lt;/p&gt;
&lt;p&gt;The default orientation is Qt::Horizontal.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setOrientation(com.trolltech.qt.core.Qt.Orientation)&quot;&gt;&lt;tt&gt;setOrientation&lt;/tt&gt;&lt;/a&gt;
@see Qt::Orientation&lt;/tt&gt; */"/>
    <method name="public final void setOrientation(com.trolltech.qt.core.Qt.Orientation orientation)" doc="/**
&lt;p&gt;Sets the slider's orientation (horizontal or vertical) to &lt;tt&gt;orientation&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default orientation is Qt::Horizontal.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#orientation()&quot;&gt;&lt;tt&gt;orientation&lt;/tt&gt;&lt;/a&gt;
@see Qt::Orientation&lt;/tt&gt; */"/>
    <method name="public final boolean upsideDown()" doc="/**
&lt;p&gt;Returns the slider control orientation.&lt;/p&gt;
&lt;p&gt;Normally a slider increases as it moves up or to the right; &lt;a href=&quot;QStyleOptionSlider.html#upsideDown()&quot;&gt;&lt;tt&gt;upsideDown&lt;/tt&gt;&lt;/a&gt; indicates that it should do the opposite (increase as it moves down or to the left). The default value is false, i.e&amp;#x2e; the slider increases as it moves up or to the right.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#setUpsideDown(boolean)&quot;&gt;&lt;tt&gt;setUpsideDown&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::sliderPositionFromValue&lt;/tt&gt;
@see &lt;tt&gt;QStyle::sliderValueFromPosition&lt;/tt&gt;
@see &lt;tt&gt;QAbstractSlider::invertedAppearance&lt;/tt&gt; */"/>
    <method name="public final void setUpsideDown(boolean upsideDown)" doc="/**
&lt;p&gt;Sets the slider control orientation to &lt;tt&gt;upsideDown&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Normally a slider increases as it moves up or to the right; &lt;a href=&quot;QStyleOptionSlider.html#upsideDown()&quot;&gt;&lt;tt&gt;upsideDown&lt;/tt&gt;&lt;/a&gt; indicates that it should do the opposite (increase as it moves down or to the left). The default value is false, i.e&amp;#x2e; the slider increases as it moves up or to the right.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionSlider.html#upsideDown()&quot;&gt;&lt;tt&gt;upsideDown&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::sliderPositionFromValue&lt;/tt&gt;
@see &lt;tt&gt;QStyle::sliderValueFromPosition&lt;/tt&gt;
@see &lt;tt&gt;QAbstractSlider::invertedAppearance&lt;/tt&gt; */"/>
</class>