class KIntSpinBox

An integer inputline with scrollbar and slider. More...

Definition#include <knuminput.h>
InheritsQSpinBox (qt)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


Detailed Description

An integer inputline with scrollbar and slider.

The class provides an easy interface to use other numeric systems then the decimal.

 KIntSpinBox (int lower, int upper, int step, int value, int base = 10, QWidget* parent = 0, const char* name = 0)

Constructor.

Constructs a widget with an integer inputline with a little scrollbar and a slider.

Parameters:
lowerThe lowest valid value.
upperThe greatest valid value.
stepThe step size of the scrollbar.
valueThe actual value.
baseThe base of the used number system.
parentThe parent of the widget.
nameThe Name of the widget.

KIntSpinBox ()

[virtual]

Destructor.

void  setEditFocus (bool mark)

sets focus and optionally marks all text

QString  mapValueToText (int)

[protected virtual]

Overloaded to make use of the base given in the constructor.

Reimplemented from QSpinBox

int  mapTextToValue (bool*)

[protected virtual]

Overloaded to make use of the base given in the constructor.

Reimplemented from QSpinBox

void  focusInEvent (QFocusEvent*)

[protected virtual]

reimplemented for internal reasons

Reimplemented from QWidget


Generated by: dfaure@faure on Sun Mar 26 14:24:24 2000, using kdoc 2.0a35.