diff options
Diffstat (limited to 'doc/html/tqspinbox.html')
-rw-r--r-- | doc/html/tqspinbox.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/tqspinbox.html b/doc/html/tqspinbox.html index 1c7bb123b..9d69b0cd9 100644 --- a/doc/html/tqspinbox.html +++ b/doc/html/tqspinbox.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQSpinBox class provides a spin box widget (spin button). <a href="#details">More...</a> <p><tt>#include <<a href="tqspinbox-h.html">tqspinbox.h</a>></tt> -<p>Inherits <a href="tqwidget.html">TQWidget</a> and <a href="ntqrangecontrol.html">TQRangeControl</a>. +<p>Inherits <a href="tqwidget.html">TQWidget</a> and <a href="tqrangecontrol.html">TQRangeControl</a>. <p><a href="tqspinbox-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -123,7 +123,7 @@ pressed to apply the new value. The value is usually an integer. signal. The current value can be fetched with <a href="#value">value</a>() and set with <a href="#setValue">setValue</a>(). <p> The spin box keeps the value within a numeric range, and to -multiples of the <a href="#lineStep">lineStep</a>() size (see <a href="ntqrangecontrol.html">TQRangeControl</a> for details). +multiples of the <a href="#lineStep">lineStep</a>() size (see <a href="tqrangecontrol.html">TQRangeControl</a> for details). Clicking the up/down buttons or using the keyboard accelerator's up and down arrows will increase or decrease the current value in steps of size lineStep(). The minimum and maximum value and the @@ -201,16 +201,16 @@ style. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQSpinBox"></a>TQSpinBox::TQSpinBox ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) </h3> -Constructs a spin box with the default <a href="ntqrangecontrol.html">TQRangeControl</a> range and +Constructs a spin box with the default <a href="tqrangecontrol.html">TQRangeControl</a> range and step values. It is called <em>name</em> and has parent <em>parent</em>. -<p> <p>See also <a href="#minValue-prop">minValue</a>, <a href="#maxValue-prop">maxValue</a>, <a href="ntqrangecontrol.html#setRange">setRange</a>(), <a href="#lineStep-prop">lineStep</a>, and <a href="ntqrangecontrol.html#setSteps">setSteps</a>(). +<p> <p>See also <a href="#minValue-prop">minValue</a>, <a href="#maxValue-prop">maxValue</a>, <a href="tqrangecontrol.html#setRange">setRange</a>(), <a href="#lineStep-prop">lineStep</a>, and <a href="tqrangecontrol.html#setSteps">setSteps</a>(). <h3 class=fn><a name="TQSpinBox-2"></a>TQSpinBox::TQSpinBox ( int minValue, int maxValue, int step = 1, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) </h3> Constructs a spin box that allows values from <em>minValue</em> to <em>maxValue</em> inclusive, with step amount <em>step</em>. The value is initially set to <em>minValue</em>. <p> The spin box is called <em>name</em> and has parent <em>parent</em>. -<p> <p>See also <a href="#minValue-prop">minValue</a>, <a href="#maxValue-prop">maxValue</a>, <a href="ntqrangecontrol.html#setRange">setRange</a>(), <a href="#lineStep-prop">lineStep</a>, and <a href="ntqrangecontrol.html#setSteps">setSteps</a>(). +<p> <p>See also <a href="#minValue-prop">minValue</a>, <a href="#maxValue-prop">maxValue</a>, <a href="tqrangecontrol.html#setRange">setRange</a>(), <a href="#lineStep-prop">lineStep</a>, and <a href="tqrangecontrol.html#setSteps">setSteps</a>(). <h3 class=fn><a name="~TQSpinBox"></a>TQSpinBox::~TQSpinBox () </h3> @@ -296,12 +296,12 @@ See the <a href="tqspinbox.html#minValue-prop">"minValue"</a> property for detai See the <a href="tqspinbox.html#prefix-prop">"prefix"</a> property for details. <h3 class=fn>void <a name="rangeChange"></a>TQSpinBox::rangeChange ()<tt> [virtual protected]</tt> </h3> -This virtual function is called by <a href="ntqrangecontrol.html">TQRangeControl</a> whenever the +This virtual function is called by <a href="tqrangecontrol.html">TQRangeControl</a> whenever the range has changed. It adjusts the default validator and updates the display; if you need additional processing, you can reimplement this function. -<p>Reimplemented from <a href="ntqrangecontrol.html#rangeChange">TQRangeControl</a>. +<p>Reimplemented from <a href="tqrangecontrol.html#rangeChange">TQRangeControl</a>. <h3 class=fn>void <a name="selectAll"></a>TQSpinBox::selectAll ()<tt> [virtual slot]</tt> </h3> Selects all the text in the spin box's editor. @@ -350,7 +350,7 @@ Decreases the spin box's value one <a href="#lineStep">lineStep</a>(), wrapping necessary if <a href="#wrapping">wrapping</a>() is TRUE. This is the same as clicking on the pointing-down button and can be used for keyboard accelerators, for example. -<p> <p>See also <a href="#stepUp">stepUp</a>(), <a href="ntqrangecontrol.html#subtractLine">subtractLine</a>(), <a href="#lineStep-prop">lineStep</a>, <a href="ntqrangecontrol.html#setSteps">setSteps</a>(), <a href="#value-prop">value</a>, and <a href="#value-prop">value</a>. +<p> <p>See also <a href="#stepUp">stepUp</a>(), <a href="tqrangecontrol.html#subtractLine">subtractLine</a>(), <a href="#lineStep-prop">lineStep</a>, <a href="tqrangecontrol.html#setSteps">setSteps</a>(), <a href="#value-prop">value</a>, and <a href="#value-prop">value</a>. <h3 class=fn>void <a name="stepUp"></a>TQSpinBox::stepUp ()<tt> [virtual slot]</tt> </h3> @@ -358,7 +358,7 @@ Increases the spin box's value by one <a href="#lineStep">lineStep</a>(), wrappi necessary if <a href="#wrapping">wrapping</a>() is TRUE. This is the same as clicking on the pointing-up button and can be used for keyboard accelerators, for example. -<p> <p>See also <a href="#stepDown">stepDown</a>(), <a href="ntqrangecontrol.html#addLine">addLine</a>(), <a href="#lineStep-prop">lineStep</a>, <a href="ntqrangecontrol.html#setSteps">setSteps</a>(), <a href="#value-prop">value</a>, and <a href="#value-prop">value</a>. +<p> <p>See also <a href="#stepDown">stepDown</a>(), <a href="tqrangecontrol.html#addLine">addLine</a>(), <a href="#lineStep-prop">lineStep</a>, <a href="tqrangecontrol.html#setSteps">setSteps</a>(), <a href="#value-prop">value</a>, and <a href="#value-prop">value</a>. <h3 class=fn><a href="tqstring.html">TQString</a> <a name="suffix"></a>TQSpinBox::suffix () const<tt> [virtual]</tt> </h3><p>Returns the suffix of the spin box. @@ -392,13 +392,13 @@ there is any; otherwise returns 0. See the <a href="tqspinbox.html#value-prop">"value"</a> property for details. <h3 class=fn>void <a name="valueChange"></a>TQSpinBox::valueChange ()<tt> [virtual protected]</tt> </h3> -This virtual function is called by <a href="ntqrangecontrol.html">TQRangeControl</a> whenever the +This virtual function is called by <a href="tqrangecontrol.html">TQRangeControl</a> whenever the value has changed. The TQSpinBox reimplementation updates the display and emits the <a href="#valueChanged">valueChanged</a>() signals; if you need additional processing, either reimplement this or connect to one of the valueChanged() signals. -<p>Reimplemented from <a href="ntqrangecontrol.html#valueChange">TQRangeControl</a>. +<p>Reimplemented from <a href="tqrangecontrol.html#valueChange">TQRangeControl</a>. <h3 class=fn>void <a name="valueChanged"></a>TQSpinBox::valueChanged ( int value )<tt> [signal]</tt> </h3> @@ -446,23 +446,23 @@ The default is <a href="#ButtonSymbols-enum">UpDownArrows</a>. <p>When the user uses the arrows to change the spin box's value the value will be incremented/decremented by the amount of the line step. -<p> The <a href="#setLineStep">setLineStep</a>() function calls the virtual <a href="ntqrangecontrol.html#stepChange">stepChange</a>() function +<p> The <a href="#setLineStep">setLineStep</a>() function calls the virtual <a href="tqrangecontrol.html#stepChange">stepChange</a>() function if the new line step is different from the previous setting. -<p> <p>See also <a href="ntqrangecontrol.html#setSteps">TQRangeControl::setSteps</a>() and <a href="ntqrangecontrol.html#setRange">setRange</a>(). +<p> <p>See also <a href="tqrangecontrol.html#setSteps">TQRangeControl::setSteps</a>() and <a href="tqrangecontrol.html#setRange">setRange</a>(). <p>Set this property's value with <a href="#setLineStep">setLineStep</a>() and get this property's value with <a href="#lineStep">lineStep</a>(). <h3 class=fn>int <a name="maxValue-prop"></a>maxValue</h3> <p>This property holds the maximum value of the spin box. <p>When setting this property, <a href="#minValue-prop">TQSpinBox::minValue</a> is adjusted, if necessary, to ensure that the range remains valid. -<p> <p>See also <a href="ntqrangecontrol.html#setRange">setRange</a>() and <a href="#specialValueText-prop">specialValueText</a>. +<p> <p>See also <a href="tqrangecontrol.html#setRange">setRange</a>() and <a href="#specialValueText-prop">specialValueText</a>. <p>Set this property's value with <a href="#setMaxValue">setMaxValue</a>() and get this property's value with <a href="#maxValue">maxValue</a>(). <h3 class=fn>int <a name="minValue-prop"></a>minValue</h3> <p>This property holds the minimum value of the spin box. <p>When setting this property, <a href="#maxValue-prop">TQSpinBox::maxValue</a> is adjusted, if necessary, to ensure that the range remains valid. -<p> <p>See also <a href="ntqrangecontrol.html#setRange">setRange</a>() and <a href="#specialValueText-prop">specialValueText</a>. +<p> <p>See also <a href="tqrangecontrol.html#setRange">setRange</a>() and <a href="#specialValueText-prop">specialValueText</a>. <p>Set this property's value with <a href="#setMinValue">setMinValue</a>() and get this property's value with <a href="#minValue">minValue</a>(). <h3 class=fn><a href="tqstring.html">TQString</a> <a name="prefix-prop"></a>prefix</h3> @@ -535,7 +535,7 @@ the <a href="#minValue">minValue</a>() if <a href="#specialValueText">specialVal <h3 class=fn>int <a name="value-prop"></a>value</h3> <p>This property holds the value of the spin box. <p>Set this property's value with <a href="#setValue">setValue</a>() and get this property's value with <a href="#value">value</a>(). -<p><p>See also <a href="ntqrangecontrol.html#setValue">TQRangeControl::setValue</a>(). +<p><p>See also <a href="tqrangecontrol.html#setValue">TQRangeControl::setValue</a>(). <h3 class=fn>bool <a name="wrapping-prop"></a>wrapping</h3> <p>This property holds whether it is possible to step the value from the highest value to the lowest value and vice versa. @@ -545,7 +545,7 @@ reaches 100 and presses the Up Arrow nothing will happen; but if wrapping is on the value will change from 100 to 0, then to 1, etc. When wrapping is on, navigating past the highest value takes you to the lowest and vice versa. -<p> <p>See also <a href="#minValue-prop">minValue</a>, <a href="#maxValue-prop">maxValue</a>, and <a href="ntqrangecontrol.html#setRange">setRange</a>(). +<p> <p>See also <a href="#minValue-prop">minValue</a>, <a href="#maxValue-prop">maxValue</a>, and <a href="tqrangecontrol.html#setRange">setRange</a>(). <p>Set this property's value with <a href="#setWrapping">setWrapping</a>() and get this property's value with <a href="#wrapping">wrapping</a>(). <!-- eof --> |