Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1999

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

<class name="QDoubleSpinBox" doc="/**
&lt;p&gt;The &lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt; class provides a spin box widget that takes doubles.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt; allows the user to choose a value by clicking the up and down buttons or by pressing Up or Down on the keyboard to increase or decrease the value currently displayed. The user can also type the value in manually. The spin box supports double values but can be extended to use different strings with &lt;a href=&quot;QDoubleSpinBox.html#validate(com.trolltech.qt.gui.QValidator.QValidationData)&quot;&gt;&lt;tt&gt;validate&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDoubleSpinBox.html#textFromValue(double)&quot;&gt;&lt;tt&gt;textFromValue&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QDoubleSpinBox.html#valueFromText(java.lang.String)&quot;&gt;&lt;tt&gt;valueFromText&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Every time the value changes &lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt; emits the &lt;a href=&quot;QDoubleSpinBox.html#valueChanged(double)&quot;&gt;&lt;tt&gt;valueChanged&lt;/tt&gt;&lt;/a&gt; signal. The current value can be fetched with &lt;a href=&quot;QDoubleSpinBox.html#value()&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt; and set with &lt;a href=&quot;QDoubleSpinBox.html#setValue(double)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note: &lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt; will round numbers so they can be displayed with the current precision. In a &lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt; with decimals set to 2, calling &lt;a href=&quot;QDoubleSpinBox.html#setValue(double)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt;(2.555) will cause &lt;a href=&quot;QDoubleSpinBox.html#value()&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt; to return 2.56.&lt;/p&gt;
&lt;p&gt;Clicking the up and down buttons or using the keyboard accelerator's Up and Down arrows will increase or decrease the current value in steps of size &lt;a href=&quot;QDoubleSpinBox.html#singleStep()&quot;&gt;&lt;tt&gt;singleStep&lt;/tt&gt;&lt;/a&gt;. If you want to change this behavior you can reimplement the virtual function &lt;a href=&quot;QAbstractSpinBox.html#stepBy(int)&quot;&gt;&lt;tt&gt;stepBy&lt;/tt&gt;&lt;/a&gt;. The minimum and maximum value and the step size can be set using one of the constructors, and can be changed later with &lt;a href=&quot;QDoubleSpinBox.html#setMinimum(double)&quot;&gt;&lt;tt&gt;setMinimum&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDoubleSpinBox.html#setMaximum(double)&quot;&gt;&lt;tt&gt;setMaximum&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QDoubleSpinBox.html#setSingleStep(double)&quot;&gt;&lt;tt&gt;setSingleStep&lt;/tt&gt;&lt;/a&gt;. The spinbox has a default precision of 2 decimal places but this can be changed using &lt;a href=&quot;QDoubleSpinBox.html#setDecimals(int)&quot;&gt;&lt;tt&gt;setDecimals&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Most spin boxes are directional, but &lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt; can also operate as a circular spin box, i.e&amp;#x2e; if the range is 0.0-99.9 and the current value is 99.9, clicking &amp;quot;up&amp;quot; will give 0 if &lt;a href=&quot;QAbstractSpinBox.html#wrapping()&quot;&gt;&lt;tt&gt;wrapping&lt;/tt&gt;&lt;/a&gt; is set to true. Use &lt;a href=&quot;QAbstractSpinBox.html#setWrapping(boolean)&quot;&gt;&lt;tt&gt;setWrapping&lt;/tt&gt;&lt;/a&gt; if you want circular behavior.&lt;/p&gt;
&lt;p&gt;The displayed value can be prepended and appended with arbitrary strings indicating, for example, currency or the unit of measurement. See &lt;a href=&quot;QDoubleSpinBox.html#setPrefix(java.lang.String)&quot;&gt;&lt;tt&gt;setPrefix&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QDoubleSpinBox.html#setSuffix(java.lang.String)&quot;&gt;&lt;tt&gt;setSuffix&lt;/tt&gt;&lt;/a&gt;. The text in the spin box is retrieved with &lt;a href=&quot;QAbstractSpinBox.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt; (which includes any &lt;a href=&quot;QDoubleSpinBox.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QDoubleSpinBox.html#suffix()&quot;&gt;&lt;tt&gt;suffix&lt;/tt&gt;&lt;/a&gt;), or with &lt;a href=&quot;QDoubleSpinBox.html#cleanText()&quot;&gt;&lt;tt&gt;cleanText&lt;/tt&gt;&lt;/a&gt; (which has no &lt;a href=&quot;QDoubleSpinBox.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt;, no &lt;a href=&quot;QDoubleSpinBox.html#suffix()&quot;&gt;&lt;tt&gt;suffix&lt;/tt&gt;&lt;/a&gt; and no leading or trailing whitespace).&lt;/p&gt;
&lt;p&gt;It is often desirable to give the user a special (often default) choice in addition to the range of numeric values. See &lt;a href=&quot;QAbstractSpinBox.html#setSpecialValueText(java.lang.String)&quot;&gt;&lt;tt&gt;setSpecialValueText&lt;/tt&gt;&lt;/a&gt; for how to do this with &lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QSpinBox.html&quot;&gt;&lt;tt&gt;QSpinBox&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDateTimeEdit.html&quot;&gt;&lt;tt&gt;QDateTimeEdit&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;%2E%2E/qtjambi-spinboxes.html&quot;&gt;Spin Boxes Example&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void editingFinished()" doc="/**
&lt;p&gt;This signal is emitted editing is finished. This happens when the spinbox loses focus and when enter is pressed.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void valueStringChanged(java.lang.String arg__1)" doc="/**
&lt;p&gt;The new value is passed literally in &lt;tt&gt;arg__1&lt;/tt&gt; with no &lt;a href=&quot;QDoubleSpinBox.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDoubleSpinBox.html#suffix()&quot;&gt;&lt;tt&gt;suffix&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void valueChanged(double arg__1)" doc="/**
&lt;p&gt;This signal is emitted whenever the spin box's value is changed. The new value is passed in &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(double arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QDoubleSpinBox(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a spin box with 0.0 as minimum value and 99.99 as maximum value, a step value of 1.0 and a precision of 2 decimal places. The value is initially set to 0.00. The spin box has the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#setMinimum(double)&quot;&gt;&lt;tt&gt;setMinimum&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setMaximum(double)&quot;&gt;&lt;tt&gt;setMaximum&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setSingleStep(double)&quot;&gt;&lt;tt&gt;setSingleStep&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QDoubleSpinBox()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final java.lang.String cleanText()" doc="/**
&lt;p&gt;Returns the text of the spin box excluding any prefix, suffix, or leading or trailing whitespace..&lt;/p&gt;

@see &lt;a href=&quot;QAbstractSpinBox.html#text()&quot;&gt;text&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QDoubleSpinBox::prefix&lt;/tt&gt;
@see &lt;tt&gt;QDoubleSpinBox::suffix&lt;/tt&gt; */"/>
    <method name="public final int decimals()" doc="/**
&lt;p&gt;Returns the precision of the spin box, in decimals.&lt;/p&gt;
&lt;p&gt;Sets how many decimals the spinbox will use for displaying and interpreting doubles.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; The results might not be reliable with very high values for &lt;tt&gt;decimals&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note: The maximum, minimum and value might change as a result of changing this property.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#setDecimals(int)&quot;&gt;&lt;tt&gt;setDecimals&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double maximum()" doc="/**
&lt;p&gt;Returns the maximum value of the spin box.&lt;/p&gt;
&lt;p&gt;When setting this property the &lt;a href=&quot;QDoubleSpinBox.html#minimum()&quot;&gt;minimum&lt;/tt&gt;&lt;/a&gt; is adjusted if necessary, to ensure that the range remains valid.&lt;/p&gt;
&lt;p&gt;The default maximum value is 99.99.&lt;/p&gt;
&lt;p&gt;Note: The maximum value will be rounded to match the decimals property.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#setMaximum(double)&quot;&gt;&lt;tt&gt;setMaximum&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#decimals()&quot;&gt;decimals&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setRange(double, double)&quot;&gt;&lt;tt&gt;setRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double minimum()" doc="/**
&lt;p&gt;Returns the minimum value of the spin box.&lt;/p&gt;
&lt;p&gt;When setting this property the &lt;a href=&quot;QDoubleSpinBox.html#maximum()&quot;&gt;maximum&lt;/tt&gt;&lt;/a&gt; is adjusted if necessary to ensure that the range remains valid.&lt;/p&gt;
&lt;p&gt;The default minimum value is 0.0&amp;#x2e;&lt;/p&gt;
&lt;p&gt;Note: The minimum value will be rounded to match the decimals property.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#setMinimum(double)&quot;&gt;&lt;tt&gt;setMinimum&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#decimals()&quot;&gt;decimals&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setRange(double, double)&quot;&gt;&lt;tt&gt;setRange&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String prefix()" doc="/**
&lt;p&gt;Returns the spin box's prefix.&lt;/p&gt;
&lt;p&gt;The prefix is prepended to the start of the displayed value. Typical use is to display a unit of measurement or a currency symbol. For example:&lt;/p&gt;
&lt;pre&gt;    spinbox-&amp;gt;setPrefix(&amp;quot;$&amp;quot;);&lt;/pre&gt;
&lt;p&gt;To turn off the prefix display, set this property to an empty string. The default is no prefix. The prefix is not displayed when &lt;a href=&quot;QDoubleSpinBox.html#value()&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt; == &lt;a href=&quot;QDoubleSpinBox.html#minimum()&quot;&gt;&lt;tt&gt;minimum&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt; is set.&lt;/p&gt;
&lt;p&gt;If no prefix is set, &lt;a href=&quot;QDoubleSpinBox.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt; returns an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#setPrefix(java.lang.String)&quot;&gt;&lt;tt&gt;setPrefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#suffix()&quot;&gt;&lt;tt&gt;suffix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setSuffix(java.lang.String)&quot;&gt;&lt;tt&gt;setSuffix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#setSpecialValueText(java.lang.String)&quot;&gt;&lt;tt&gt;setSpecialValueText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDecimals(int prec)" doc="/**
&lt;p&gt;Sets the precision of the spin box, in decimals to &lt;tt&gt;prec&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Sets how many decimals the spinbox will use for displaying and interpreting doubles.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; The results might not be reliable with very high values for &lt;tt&gt;decimals&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note: The maximum, minimum and value might change as a result of changing this property.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#decimals()&quot;&gt;&lt;tt&gt;decimals&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMaximum(double max)" doc="/**
&lt;p&gt;Sets the maximum value of the spin box to &lt;tt&gt;max&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;When setting this property the &lt;a href=&quot;QDoubleSpinBox.html#minimum()&quot;&gt;minimum&lt;/tt&gt;&lt;/a&gt; is adjusted if necessary, to ensure that the range remains valid.&lt;/p&gt;
&lt;p&gt;The default maximum value is 99.99.&lt;/p&gt;
&lt;p&gt;Note: The maximum value will be rounded to match the decimals property.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#maximum()&quot;&gt;&lt;tt&gt;maximum&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#decimals()&quot;&gt;decimals&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setRange(double, double)&quot;&gt;&lt;tt&gt;setRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMinimum(double min)" doc="/**
&lt;p&gt;Sets the minimum value of the spin box to &lt;tt&gt;min&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;When setting this property the &lt;a href=&quot;QDoubleSpinBox.html#maximum()&quot;&gt;maximum&lt;/tt&gt;&lt;/a&gt; is adjusted if necessary to ensure that the range remains valid.&lt;/p&gt;
&lt;p&gt;The default minimum value is 0.0&amp;#x2e;&lt;/p&gt;
&lt;p&gt;Note: The minimum value will be rounded to match the decimals property.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#minimum()&quot;&gt;&lt;tt&gt;minimum&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#decimals()&quot;&gt;decimals&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setRange(double, double)&quot;&gt;&lt;tt&gt;setRange&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPrefix(java.lang.String prefix)" doc="/**
&lt;p&gt;Sets the spin box's prefix to &lt;tt&gt;prefix&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The prefix is prepended to the start of the displayed value. Typical use is to display a unit of measurement or a currency symbol. For example:&lt;/p&gt;
&lt;pre&gt;    spinbox-&amp;gt;setPrefix(&amp;quot;$&amp;quot;);&lt;/pre&gt;
&lt;p&gt;To turn off the prefix display, set this property to an empty string. The default is no prefix. The prefix is not displayed when &lt;a href=&quot;QDoubleSpinBox.html#value()&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt; == &lt;a href=&quot;QDoubleSpinBox.html#minimum()&quot;&gt;&lt;tt&gt;minimum&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt; is set.&lt;/p&gt;
&lt;p&gt;If no prefix is set, &lt;a href=&quot;QDoubleSpinBox.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt; returns an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#suffix()&quot;&gt;&lt;tt&gt;suffix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setSuffix(java.lang.String)&quot;&gt;&lt;tt&gt;setSuffix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#setSpecialValueText(java.lang.String)&quot;&gt;&lt;tt&gt;setSpecialValueText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRange(double min, double max)" doc="/**
&lt;p&gt;Convenience function to set the &lt;tt&gt;min&lt;/tt&gt; and &lt;tt&gt;max&lt;/tt&gt; values with a single function call.&lt;/p&gt;
&lt;p&gt;Note: The maximum and minimum values will be rounded to match the decimals property.&lt;/p&gt;
&lt;pre&gt;    setRange(minimum, maximum);&lt;/pre&gt;
&lt;p&gt;is equivalent to:&lt;/p&gt;
&lt;pre&gt;    setMinimum(minimum);
    setMaximum(maximum);&lt;/pre&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#minimum()&quot;&gt;minimum&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#maximum()&quot;&gt;maximum&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSingleStep(double val)" doc="/**
&lt;p&gt;Sets the step value to &lt;tt&gt;val&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;When the user uses the arrows to change the spin box's value the value will be incremented/decremented by the amount of the &lt;a href=&quot;QDoubleSpinBox.html#singleStep()&quot;&gt;&lt;tt&gt;singleStep&lt;/tt&gt;&lt;/a&gt;. The default value is 1.0&amp;#x2e; Setting a &lt;a href=&quot;QDoubleSpinBox.html#singleStep()&quot;&gt;&lt;tt&gt;singleStep&lt;/tt&gt;&lt;/a&gt; value of less than 0 does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#singleStep()&quot;&gt;&lt;tt&gt;singleStep&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSuffix(java.lang.String suffix)" doc="/**
&lt;p&gt;Sets the suffix of the spin box to &lt;tt&gt;suffix&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The suffix is appended to the end of the displayed value. Typical use is to display a unit of measurement or a currency symbol. For example:&lt;/p&gt;
&lt;pre&gt;    spinbox-&amp;gt;setSuffix(&amp;quot; km&amp;quot;);&lt;/pre&gt;
&lt;p&gt;To turn off the suffix display, set this property to an empty string. The default is no suffix. The suffix is not displayed for the &lt;a href=&quot;QDoubleSpinBox.html#minimum()&quot;&gt;&lt;tt&gt;minimum&lt;/tt&gt;&lt;/a&gt; if &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt; is set.&lt;/p&gt;
&lt;p&gt;If no suffix is set, &lt;a href=&quot;QDoubleSpinBox.html#suffix()&quot;&gt;&lt;tt&gt;suffix&lt;/tt&gt;&lt;/a&gt; returns an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#suffix()&quot;&gt;&lt;tt&gt;suffix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setPrefix(java.lang.String)&quot;&gt;&lt;tt&gt;setPrefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#setSpecialValueText(java.lang.String)&quot;&gt;&lt;tt&gt;setSpecialValueText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setValue(double val)" doc="/**
&lt;p&gt;Sets the value of the spin box to &lt;tt&gt;val&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QDoubleSpinBox.html#setValue(double)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt; will emit &lt;a href=&quot;QDoubleSpinBox.html#valueChanged(double)&quot;&gt;&lt;tt&gt;valueChanged&lt;/tt&gt;&lt;/a&gt; if the new value is different from the old one.&lt;/p&gt;
&lt;p&gt;Note: The value will be rounded so it can be displayed with the current setting of decimals.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#value()&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#decimals()&quot;&gt;decimals&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double singleStep()" doc="/**
&lt;p&gt;Returns the step value.&lt;/p&gt;
&lt;p&gt;When the user uses the arrows to change the spin box's value the value will be incremented/decremented by the amount of the &lt;a href=&quot;QDoubleSpinBox.html#singleStep()&quot;&gt;&lt;tt&gt;singleStep&lt;/tt&gt;&lt;/a&gt;. The default value is 1.0&amp;#x2e; Setting a &lt;a href=&quot;QDoubleSpinBox.html#singleStep()&quot;&gt;&lt;tt&gt;singleStep&lt;/tt&gt;&lt;/a&gt; value of less than 0 does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#setSingleStep(double)&quot;&gt;&lt;tt&gt;setSingleStep&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String suffix()" doc="/**
&lt;p&gt;Returns the suffix of the spin box.&lt;/p&gt;
&lt;p&gt;The suffix is appended to the end of the displayed value. Typical use is to display a unit of measurement or a currency symbol. For example:&lt;/p&gt;
&lt;pre&gt;    spinbox-&amp;gt;setSuffix(&amp;quot; km&amp;quot;);&lt;/pre&gt;
&lt;p&gt;To turn off the suffix display, set this property to an empty string. The default is no suffix. The suffix is not displayed for the &lt;a href=&quot;QDoubleSpinBox.html#minimum()&quot;&gt;&lt;tt&gt;minimum&lt;/tt&gt;&lt;/a&gt; if &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt; is set.&lt;/p&gt;
&lt;p&gt;If no suffix is set, &lt;a href=&quot;QDoubleSpinBox.html#suffix()&quot;&gt;&lt;tt&gt;suffix&lt;/tt&gt;&lt;/a&gt; returns an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#setSuffix(java.lang.String)&quot;&gt;&lt;tt&gt;setSuffix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#setPrefix(java.lang.String)&quot;&gt;&lt;tt&gt;setPrefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractSpinBox.html#setSpecialValueText(java.lang.String)&quot;&gt;&lt;tt&gt;setSpecialValueText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double value()" doc="/**
&lt;p&gt;Returns the value of the spin box.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QDoubleSpinBox.html#setValue(double)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt; will emit &lt;a href=&quot;QDoubleSpinBox.html#valueChanged(double)&quot;&gt;&lt;tt&gt;valueChanged&lt;/tt&gt;&lt;/a&gt; if the new value is different from the old one.&lt;/p&gt;
&lt;p&gt;Note: The value will be rounded so it can be displayed with the current setting of decimals.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#setValue(double)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#decimals()&quot;&gt;decimals&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public java.lang.String fixup(java.lang.String str)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public java.lang.String textFromValue(double val)" doc="/**
&lt;p&gt;This virtual function is used by the spin box whenever it needs to display the given &lt;tt&gt;val&lt;/tt&gt;. The default implementation returns a string containing &lt;tt&gt;val&lt;/tt&gt; printed using QLocale().toString(&lt;tt&gt;val&lt;/tt&gt;, QLatin1Char('f'), &lt;a href=&quot;QDoubleSpinBox.html#decimals()&quot;&gt;&lt;tt&gt;decimals&lt;/tt&gt;&lt;/a&gt;) and will remove the thousand separator. Reimplementations may return anything.&lt;/p&gt;
&lt;p&gt;Note: &lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt; does not call this function for &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt; and that neither &lt;a href=&quot;QDoubleSpinBox.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt; nor &lt;a href=&quot;QDoubleSpinBox.html#suffix()&quot;&gt;&lt;tt&gt;suffix&lt;/tt&gt;&lt;/a&gt; should be included in the return value.&lt;/p&gt;
&lt;p&gt;If you reimplement this, you may also need to reimplement &lt;a href=&quot;QDoubleSpinBox.html#valueFromText(java.lang.String)&quot;&gt;&lt;tt&gt;valueFromText&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#valueFromText(java.lang.String)&quot;&gt;&lt;tt&gt;valueFromText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.gui.QValidator.State validate(com.trolltech.qt.gui.QValidator.QValidationData input)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDoubleSpinBox.html#validate(com.trolltech.qt.gui.QValidator.QValidationData)&quot;&gt;validate&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;input&lt;/tt&gt;, ). */"/>
    <method name="public double valueFromText(java.lang.String text)" doc="/**
&lt;p&gt;This virtual function is used by the spin box whenever it needs to interpret &lt;tt&gt;text&lt;/tt&gt; entered by the user as a value.&lt;/p&gt;
&lt;p&gt;Subclasses that need to display spin box values in a non-numeric way need to reimplement this function.&lt;/p&gt;
&lt;p&gt;Note: &lt;a href=&quot;QDoubleSpinBox.html#QDoubleSpinBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt; handles &lt;a href=&quot;QAbstractSpinBox.html#specialValueText()&quot;&gt;&lt;tt&gt;specialValueText&lt;/tt&gt;&lt;/a&gt; separately; this function is only concerned with the other values.&lt;/p&gt;

@see &lt;a href=&quot;QDoubleSpinBox.html#textFromValue(double)&quot;&gt;&lt;tt&gt;textFromValue&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleSpinBox.html#validate(com.trolltech.qt.gui.QValidator.QValidationData)&quot;&gt;&lt;tt&gt;validate&lt;/tt&gt;&lt;/a&gt; */"/>
</class>