Inherits QAbstractSpinBox.
Public Slots | |
void | setValue (qlonglong v) |
Sets the spinbox value. | |
Public Member Functions | |
virtual void | fixup (QString &input) const |
QwwLongSpinBox (QWidget *parent=0) | |
void | setMaximum (qlonglong v) |
void | setMinimum (qlonglong v) |
void | setPrefix (const QString &) |
Sets the spinbox prefix. | |
void | setRange (qlonglong min, qlonglong max) |
Sets the range of values allowed for the spinbox. | |
void | setSingleStep (qlonglong s) |
Sets the step size for the spinbox. | |
void | setSuffix (const QString &) |
Sets the spinbox suffix. | |
virtual void | stepBy (int steps) |
Changes the spinbox value by a number of steps. | |
virtual QValidator::State | validate (QString &input, int &pos) const |
Validates the spinbox input. | |
~QwwLongSpinBox () | |
Protected Member Functions | |
virtual StepEnabled | stepEnabled () const |
virtual QString | textFromValue (qlonglong value) const |
virtual qlonglong | valueFromText (const QString &text) const |
Properties | |
qlonglong | maximum [] |
maximum value allowed for the spinbox | |
qlonglong | minimum [] |
minimum value allowed for the spinbox | |
QString | prefix [] |
spinbox's prefix | |
qlonglong | singleStep [] |
Returns the step for the spinbox. | |
QString | suffix [] |
spinbox's suffix | |
qlonglong | value [] |
spinbox value |
Definition at line 25 of file qwwlongspinbox.h.
void QwwLongSpinBox::setMaximum | ( | qlonglong | v | ) |
void QwwLongSpinBox::setMinimum | ( | qlonglong | v | ) |
void QwwLongSpinBox::setPrefix | ( | const QString & | p | ) |
void QwwLongSpinBox::setRange | ( | qlonglong | min, | |
qlonglong | max | |||
) |
Sets the range of values allowed for the spinbox.
min | ||
max |
Definition at line 246 of file qwwlongspinbox.cpp.
void QwwLongSpinBox::setSingleStep | ( | qlonglong | s | ) |
Sets the step size for the spinbox.
s |
Definition at line 234 of file qwwlongspinbox.cpp.
void QwwLongSpinBox::setSuffix | ( | const QString & | s | ) |
void QwwLongSpinBox::setValue | ( | qlonglong | v | ) | [slot] |
void QwwLongSpinBox::stepBy | ( | int | steps | ) | [virtual] |
Changes the spinbox value by a number of steps.
steps |
Reimplemented from QAbstractSpinBox.
Definition at line 262 of file qwwlongspinbox.cpp.
QAbstractSpinBox::StepEnabled QwwLongSpinBox::stepEnabled | ( | ) | const [protected, virtual] |
QString QwwLongSpinBox::textFromValue | ( | qlonglong | value | ) | const [protected, virtual] |
QValidator::State QwwLongSpinBox::validate | ( | QString & | input, | |
int & | pos | |||
) | const [virtual] |
Validates the spinbox input.
input | ||
pos |
Definition at line 288 of file qwwlongspinbox.cpp.
qlonglong QwwLongSpinBox::valueFromText | ( | const QString & | text | ) | const [protected, virtual] |
qlonglong QwwLongSpinBox::singleStep [read, write] |