class KIntSpinBox

A spin box widget for non-decimal numbers. More...

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

Public Methods

Protected Methods


Detailed Description

An integer inputline with scrollbar and slider.

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

 KIntSpinBox ( QWidget *parent=0, const char *name=0)

Constructor.

Constructs a widget with an integer inputline with a little scrollbar and a slider, with minimal value 0, maximal value 99, step 1, base 10 and initial value 0.

 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:

KIntSpinBox ()

[virtual]

Destructor.

int  value ()

[const]

Reimplemented for internal reasons; the API is not affected.

void  setBase (int base)

Sets the base in which the numbers in the spin box are represented.

int  base ()

[const]

Returns: the base in which numbers in the spin box are represented.

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.

int  mapTextToValue (bool*)

[protected virtual]

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

void  focusInEvent (QFocusEvent*)

[protected virtual]


Generated by: baudens@ke.mandrakesoft.com on Thu Oct 26 17:36:26 2000, using kdoc 2.0a40.