Class WSpinBox

public class WSpinBox
extends WAbstractSpinBox
An input control for integer numbers.

The spin box provides a control for entering an integer number. It consists of a line edit, and buttons which allow to increase or decrease the value. If you rather need input of a fractional number, use WDoubleSpinBox instead.

WSpinBox is an inline widget.

See Also:
Note: A spinbox configures a validator for validating the input. Therefore you cannot set a validator yourself.