A validator that allows only input of unsigned int values in the range from 0 to UINT_MAX. More...
#include <SpinBox.h>
Public Member Functions | |
uint | bottom () const |
void | setBottom (uint) |
virtual void | setRange (uint bottom, uint top) |
void | setTop (uint) |
uint | top () const |
UnsignedValidator (uint bottom, uint top, QObject *parent) | |
UnsignedValidator (QObject *parent) | |
QValidator::State | validate (QString &, int &) const |
~UnsignedValidator () | |
Properties | |
uint | bottom |
uint | top |
A validator that allows only input of unsigned int values in the range from 0 to UINT_MAX.
Definition at line 36 of file SpinBox.h.
UnsignedValidator::UnsignedValidator | ( | QObject * | parent | ) |
Definition at line 35 of file SpinBox.cpp.
UnsignedValidator::UnsignedValidator | ( | uint | bottom, | |
uint | top, | |||
QObject * | parent | |||
) |
Definition at line 42 of file SpinBox.cpp.
UnsignedValidator::~UnsignedValidator | ( | ) |
Definition at line 49 of file SpinBox.cpp.
uint Gui::UnsignedValidator::bottom | ( | ) | const [inline] |
void UnsignedValidator::setBottom | ( | uint | bottom | ) |
Definition at line 79 of file SpinBox.cpp.
References setRange(), and top().
void UnsignedValidator::setRange | ( | uint | bottom, | |
uint | top | |||
) | [virtual] |
Definition at line 73 of file SpinBox.cpp.
Referenced by setBottom(), and setTop().
void UnsignedValidator::setTop | ( | uint | top | ) |
Definition at line 84 of file SpinBox.cpp.
References bottom(), and setRange().
uint Gui::UnsignedValidator::top | ( | ) | const [inline] |
QValidator::State UnsignedValidator::validate | ( | QString & | input, | |
int & | ||||
) | const |
Definition at line 54 of file SpinBox.cpp.
Referenced by Gui::UIntSpinBox::validate().