| Home · Modules · Classes · Namespaces · Functions |
The QxtBaseSpinBox widget is a spin box with support for numbers in base between 2 and 36. More...
#include <QxtBaseSpinBox>
Inherits QSpinBox.
The QxtBaseSpinBox widget is a spin box with support for numbers in base between 2 and 36.
Example spinbox for hexadecimal input:
QxtBaseSpinBox* spinBox = new QxtBaseSpinBox(16, this);
spinBox->setPrefix("0x");
spinBox->setValue(0xbabe);
spinBox->setUpperCase(true);

Note: Notice that QxtBaseSpinBox is not locale-aware.
Constructs a new QxtBaseSpinBox with parent. Base defaults to 10.
Constructs a new QxtBaseSpinBox with base and parent.
Destructs the spin box.
See also setBase().
This signal is emitted whenever the number base has changed.
See also base().
See also isUpperCase().
| Copyright © 2007-2011 Qxt Foundation |
Qxt 0.6.2 |