class KNumericSpinBox

The KNumericSpinBox Widget lets you cycle trough a range of numeric values. More...

Definition#include <kspinbox.h>
InheritsKSpinBox
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots


Detailed Description

The KNumericSpinBox Widget lets you cycle trough a range of numeric values. <br> you can set the minimum and minimum of the range . it's possible to specify the step - the value which is used for increment and decrement. <p> Warning: if you set let the user edit the values through a call to setEditable(TRUE) the behaviour is undefined, e.g.. the range isn't checked

 KNumericSpinBox (QWidget *parent=0,const char *name=0,int align=AlignLeft)

called if you create a KNumericSpinBox widget

KNumericSpinBox ()

called if you destroy a KNumericSpinBox widget

void  setValue (int value)

set the value which should be displayed in the text field

Reimplemented from KSpinBox

int  getValue ()

get the value shown in the text field

Reimplemented from KSpinBox

int  getStep ()

return the current value used for increment and decrement

void  setStep (int step)

set the value used for increment and decrement

void  getRange (int &minimum, int &maximum)

get the currently allowed range of values

void  setRange (int minimum, int maximum)

set the range allowed range of values


Generated by: tasin@pcw-home on Sun Feb 13 22:02:02 2000, using kdoc 2.0a35.