# class KIntSpinBox

###

Module | kdeui
Namespace |
Class | KIntSpinBox
Inherits | QSpinBox

### methods

- KIntSpinBox (parent)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 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 (lower, upper, step, value, parent, base)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  lower | int |
  upper | int |
  step | int |
  value | int |
  parent | QWidget |
  base | int | 10

  Constructor.

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

  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.

- KIntSpinBox (a0)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  a0 | KIntSpinBox |

- KIntSpinBox (a0)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget | 0

- base ( )

  returns int

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

- setBase (base)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  base | int |

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

- setEditFocus (mark)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  mark | bool |

  sets focus and optionally marks all text

- textFromValue (a0)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

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

- valueFromText (text)

  returns int

  Argument | Type | Default
  --- | --- | ---
  text | QString |

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