KIntSpinBox Class Reference
A QSpinBox with support for arbitrary base numbers (e.g. A QSpinBox with support for arbitrary base numbers. More...
#include <knuminput.h>
Inheritance diagram for KIntSpinBox:


| Public Member Functions | |
| 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 Member Functions | |
| virtual QString | mapValueToText (int) | 
| virtual int | mapTextToValue (bool *) | 
| virtual void | virtual_hook (int id, void *data) | 
Detailed Description
A QSpinBox with support for arbitrary base numbers (e.g. A QSpinBox with support for arbitrary base numbers.hexadecimal).
The class provides an easy interface to use other numeric systems than the decimal.
Definition at line 697 of file knuminput.h.
Constructor & Destructor Documentation
| 
 | ||||||||||||
| 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. Definition at line 204 of file knuminput.cpp. References QSpinBox::editor(), and QSpinBox::setValue(). | 
| 
 | ||||||||||||||||||||||||||||||||
| Constructor. Constructs a widget with an integer inputline with a little scrollbar and a slider. 
 
 Definition at line 216 of file knuminput.cpp. References QSpinBox::editor(), and QSpinBox::setValue(). | 
| 
 | 
| Destructor. 
 Definition at line 212 of file knuminput.cpp. | 
Member Function Documentation
| 
 | 
| Sets the base in which the numbers in the spin box are represented. 
 Definition at line 225 of file knuminput.cpp. | 
| 
 | 
| 
 
 Definition at line 231 of file knuminput.cpp. | 
| 
 | 
| sets focus and optionally marks all text 
 Definition at line 246 of file knuminput.cpp. References QSpinBox::editor(). Referenced by KIntNumInput::setEditFocus(). | 
| 
 | 
| Overloaded the method in QSpinBox to make use of the base given in the constructor. 
 Reimplemented from QSpinBox. Definition at line 236 of file knuminput.cpp. References QString::number(). | 
| 
 | 
| Overloaded the method in QSpinBox to make use of the base given in the constructor. 
 Reimplemented from QSpinBox. Definition at line 241 of file knuminput.cpp. References QSpinBox::cleanText(). | 
The documentation for this class was generated from the following files:

