QwwLongSpinBox Class
The QwwLongSpinBox class provides a spinbox taking long long values. More...
Header: | #include <QwwLongSpinBox> |
Properties
|
Public Functions
QwwLongSpinBox(QWidget * parent = 0) | |
virtual void | fixup(QString & input) const |
qlonglong | maximum() const |
qlonglong | minimum() const |
const QString & | prefix() const |
void | setMaximum(qlonglong v) |
void | setMinimum(qlonglong v) |
void | setPrefix(const QString &) |
void | setRange(qlonglong min, qlonglong max) |
void | setSingleStep(qlonglong s) |
void | setSuffix(const QString &) |
qlonglong | singleStep() const |
virtual void | stepBy(int steps) |
const QString & | suffix() const |
virtual QValidator::State | validate(QString & input, int & pos) const |
qlonglong | value() const |
Public Slots
void | setValue(qlonglong v) |
Signals
void | valueChanged(qlonglong i) |
void | valueChanged(const QString & text) |
Protected Functions
virtual StepEnabled | stepEnabled() const |
virtual QString | textFromValue(qlonglong value) const |
virtual qlonglong | valueFromText(const QString & text) const |
Detailed Description
The QwwLongSpinBox class provides a spinbox taking long long values.
Property Documentation
maximum : qlonglong
This property holds property holds the maximum value allowed for the spinbox.
Access functions:
qlonglong | maximum() const |
void | setMaximum(qlonglong v) |
minimum : qlonglong
This property holds property holds the minimum value allowed for the spinbox.
Access functions:
qlonglong | minimum() const |
void | setMinimum(qlonglong v) |
prefix : QString
This property holds property holds the spinbox's prefix.
Access functions:
const QString & | prefix() const |
void | setPrefix(const QString &) |
singleStep : qlonglong
This property holds this property holds the step for the spinbox.
Access functions:
qlonglong | singleStep() const |
void | setSingleStep(qlonglong s) |
suffix : QString
This property holds property holds the spinbox's suffix.
Access functions:
const QString & | suffix() const |
void | setSuffix(const QString &) |
value : qlonglong
This property holds property holds the spinbox value.
Access functions:
qlonglong | value() const |
void | setValue(qlonglong v) |
Notifier signal:
void | valueChanged(qlonglong i) |
void | valueChanged(const QString & text) |
Member Function Documentation
QwwLongSpinBox::QwwLongSpinBox(QWidget * parent = 0)
Constructs a long spin box widget with a given parent.
void QwwLongSpinBox::fixup(QString & input) const [virtual]
Attempts to correct the input.
void QwwLongSpinBox::setRange(qlonglong min, qlonglong max)
Sets the range of values allowed for the spinbox to min and max
void QwwLongSpinBox::stepBy(int steps) [virtual]
Changes the spinbox value by a number of steps
StepEnabled QwwLongSpinBox::stepEnabled() const [virtual protected]
Returns set of enabled steps.
QString QwwLongSpinBox::textFromValue(qlonglong value) const [virtual protected]
Returns textual representation of the value.
QValidator::State QwwLongSpinBox::validate(QString & input, int & pos) const [virtual]
Validates the spinbox input with cursor at position pos
qlonglong QwwLongSpinBox::valueFromText(const QString & text) const [virtual protected]
Returns numerical representation of the text.