org.kde.koala

Class KIntSpinBox

public class KIntSpinBox extends QSpinBox

A QSpinBox with support for arbitrary base numbers (e.g. hexadecimal). The class provides an easy interface to use other numeric systems than the decimal.

UNKNOWN: A QSpinBox with support for arbitrary base numbers.

Constructor Summary
protected KIntSpinBox(Class dummy)
KIntSpinBox(QWidget parent, String name)
Constructor.
KIntSpinBox(QWidget parent)
KIntSpinBox()
KIntSpinBox(int lower, int upper, int step, int value, int base, QWidget parent, String name)
Constructor.
KIntSpinBox(int lower, int upper, int step, int value, int base, QWidget parent)
KIntSpinBox(int lower, int upper, int step, int value, int base)
KIntSpinBox(int lower, int upper, int step, int value)
Method Summary
intbase()
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
protected intmapTextToValue(boolean[] arg1)
Overloaded the method in QSpinBox to make use of the base given in the constructor.
protected StringmapValueToText(int arg1)
Overloaded the method in QSpinBox to make use of the base given in the constructor.
QMetaObjectmetaObject()
voidsetBase(int base)
Sets the base in which the numbers in the spin box are represented.
voidsetEditFocus(boolean mark)
sets focus and optionally marks all text

Constructor Detail

KIntSpinBox

protected KIntSpinBox(Class dummy)

KIntSpinBox

public KIntSpinBox(QWidget parent, String name)
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.

UNKNOWN: Constructor.

KIntSpinBox

public KIntSpinBox(QWidget parent)

KIntSpinBox

public KIntSpinBox()

KIntSpinBox

public KIntSpinBox(int lower, int upper, int step, int value, int base, QWidget parent, String name)
Constructor. Constructs a widget with an integer inputline with a little scrollbar and a slider.

Parameters: lower The lowest valid value. upper The greatest valid value. step The step size of the scrollbar. value The actual value. base The base of the used number system. parent The parent of the widget. name The Name of the widget.

UNKNOWN: Constructor.

KIntSpinBox

public KIntSpinBox(int lower, int upper, int step, int value, int base, QWidget parent)

KIntSpinBox

public KIntSpinBox(int lower, int upper, int step, int value, int base)

KIntSpinBox

public KIntSpinBox(int lower, int upper, int step, int value)

Method Detail

base

public int base()

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

UNKNOWN:

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

mapTextToValue

protected int mapTextToValue(boolean[] arg1)
Overloaded the method in QSpinBox to make use of the base given in the constructor.

UNKNOWN: Overloaded the method in QSpinBox to make use of the base given in the constructor.

mapValueToText

protected String mapValueToText(int arg1)
Overloaded the method in QSpinBox to make use of the base given in the constructor.

UNKNOWN: Overloaded the method in QSpinBox to make use of the base given in the constructor.

metaObject

public QMetaObject metaObject()

setBase

public void setBase(int base)
Sets the base in which the numbers in the spin box are represented.

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

setEditFocus

public void setEditFocus(boolean mark)
sets focus and optionally marks all text

UNKNOWN: sets focus and optionally marks all text