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>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

uint Gui::UnsignedValidator::bottom (  )  const [inline]

Definition at line 53 of file SpinBox.h.

References FemExample::b.

Referenced by setTop().

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]

Definition at line 54 of file SpinBox.h.

References RobotExample::t.

Referenced by setBottom().

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

Definition at line 54 of file SpinBox.cpp.

Referenced by Gui::UIntSpinBox::validate().


Property Documentation

uint Gui::UnsignedValidator::bottom [read, write]

Definition at line 39 of file SpinBox.h.

uint Gui::UnsignedValidator::top [read, write]

Definition at line 40 of file SpinBox.h.


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

Generated on Wed Nov 23 19:02:04 2011 for FreeCAD by  doxygen 1.6.1