#include <knuminput.h>
Public Methods | |
| KIntSpinBox (QWidget *parent=0, const char *name=0) | |
| KIntSpinBox (int lower, int upper, int step, int value, int base=10, QWidget *parent=0, const char *name=0) | |
| virtual | ~KIntSpinBox () |
| void | setBase (int base) |
| int | base () const |
| void | setEditFocus (bool mark) |
Protected Methods | |
| virtual QString | mapValueToText (int) |
| virtual int | mapTextToValue (bool *) |
A QSpinBox with support for arbitrary base numbers (e.g. hexadecimal).
The class provides an easy interface to use other numeric systems then the decimal.
Definition at line 708 of file knuminput.h.
|
||||||||||||
|
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. |
|
||||||||||||||||||||||||||||||||
|
Constructor. Constructs a widget with an integer inputline with a little scrollbar and a slider.
|
|
|
Destructor. |
|
|
|
|
|
Overloaded the method in QSpinBox to make use of the base given in the constructor. |
|
|
Overloaded the method in QSpinBox to make use of the base given in the constructor. |
|
|
Sets the base in which the numbers in the spin box are represented. |
|
|
sets focus and optionally marks all text |
1.2.18