Gui::UnsignedValidator Class Reference
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 |
Detailed Description
A validator that allows only input of unsigned int values in the range from 0 to UINT_MAX.
Constructor & Destructor Documentation
◆ UnsignedValidator() [1/2]
UnsignedValidator::UnsignedValidator | ( | QObject * | parent | ) |
◆ UnsignedValidator() [2/2]
UnsignedValidator::UnsignedValidator | ( | uint | bottom, |
uint | top, | ||
QObject * | parent | ||
) |
◆ ~UnsignedValidator()
UnsignedValidator::~UnsignedValidator | ( | ) |
Member Function Documentation
◆ bottom()
uint Gui::UnsignedValidator::bottom | ( | ) | const |
◆ setBottom()
void UnsignedValidator::setBottom | ( | uint | bottom | ) |
References setRange(), and top.
◆ setRange()
|
virtual |
Referenced by setBottom(), and setTop().
◆ setTop()
void UnsignedValidator::setTop | ( | uint | top | ) |
References bottom, and setRange().
◆ top()
uint Gui::UnsignedValidator::top | ( | ) | const |
◆ validate()
QValidator::State UnsignedValidator::validate | ( | QString & | input, |
int & | |||
) | const |
Referenced by Gui::UIntSpinBox::validate().
Property Documentation
◆ bottom
|
readwrite |
Referenced by PathScripts.PathDressupHoldingTags.Tag::filterIntersections(), and setTop().
◆ top
|
readwrite |
The documentation for this class was generated from the following files:
- src/Gui/SpinBox.h
- src/Gui/SpinBox.cpp