Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DlgValidatorNumber Class Reference

Validator for generic (=simple) numbers. More...

#include <DlgValidatorNumber.h>

Inheritance diagram for DlgValidatorNumber:
DlgValidatorAbstract

Public Member Functions

 DlgValidatorNumber (CoordScale coordScale, const QLocale &locale, QObject *parent=0)
 Single constructor.
 
virtual QValidator::State validate (QString &input, int &pos) const
 Apply the standard validation with 0 as the exclusive minimum. Call setCoordScale just before calling this method.
 
- Public Member Functions inherited from DlgValidatorAbstract
 DlgValidatorAbstract (QObject *parent=0)
 Single constructor.
 

Detailed Description

Validator for generic (=simple) numbers.

Definition at line 17 of file DlgValidatorNumber.h.

Constructor & Destructor Documentation

◆ DlgValidatorNumber()

DlgValidatorNumber::DlgValidatorNumber ( CoordScale  coordScale,
const QLocale &  locale,
QObject *  parent = 0 
)

Single constructor.

Definition at line 12 of file DlgValidatorNumber.cpp.

Member Function Documentation

◆ validate()

QValidator::State DlgValidatorNumber::validate ( QString &  input,
int &  pos 
) const
virtual

Apply the standard validation with 0 as the exclusive minimum. Call setCoordScale just before calling this method.

Implements DlgValidatorAbstract.

Definition at line 22 of file DlgValidatorNumber.cpp.


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