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 (QObject *parent) | |
UnsignedValidator (uint bottom, uint top, 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.
UnsignedValidator::UnsignedValidator | ( | QObject * | parent | ) |
UnsignedValidator::UnsignedValidator | ( | uint | bottom, |
uint | top, | ||
QObject * | parent | ||
) |
UnsignedValidator::~UnsignedValidator | ( | ) |
uint Gui::UnsignedValidator::bottom | ( | ) | const |
void UnsignedValidator::setBottom | ( | uint | bottom | ) |
References setRange(), and top.
|
virtual |
Referenced by setBottom(), and setTop().
void UnsignedValidator::setTop | ( | uint | top | ) |
References bottom, and setRange().
uint Gui::UnsignedValidator::top | ( | ) | const |
QValidator::State UnsignedValidator::validate | ( | QString & | input, |
int & | |||
) | const |
Referenced by AddonManager.CommandAddonManager::startup(), and Gui::UIntSpinBox::validate().
|
readwrite |
Referenced by PathScripts.PathDressupHoldingTags.Tag::filterIntersections(), and setTop().
|
readwrite |