KNumericSpinBox Class Reference

[kdeui Index] [kdeui Hierarchy] [Headers]


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

#include <kspinbox.h>

Inherits: KSpinBox

Public Members

Public Slots

Private Members


Detailed Description

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

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.

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) [public]

called if you create a KNumericSpinBox widget

~KNumericSpinBox() [public]

called if you destroy a KNumericSpinBox widget

void setValue(int value) [public]

set the value which should be displayed in the text field

int getValue() [public]

get the value shown in the text field

int getStep() [public]

return the current value used for increment and decrement

void setStep(int step) [public]

set the value used for increment and decrement

void getRange(int &minimum, int &maximum) [public]

get the currently allowed range of values

void setRange(int minimum, int maximum) [public]

set the range allowed range of values


Documentation generated by root@darkstar.lst.de on Wed Sep 8 17:38:27 CEST 1999
Kdoc