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()

void UnsignedValidator::setRange ( uint  bottom,
uint  top 
)
virtual

Referenced by setBottom(), and setTop().

◆ setTop()

void UnsignedValidator::setTop ( uint  top)

References bottom, and setRange().

◆ top()

◆ validate()

QValidator::State UnsignedValidator::validate ( QString &  input,
int  
) const

Property Documentation

◆ bottom

uint Gui::UnsignedValidator::bottom
readwrite

◆ top


The documentation for this class was generated from the following files: