Eneboo - Documentación para desarrolladores
Métodos públicos
Referencia de la Clase FLUIntValidator

#include <FLFieldDB.h>

Diagrama de herencias de FLUIntValidator
QIntValidator QValidator QValidator QObject QObject QObject QObject Qt Qt Qt Qt Qt Qt Qt Qt

Lista de todos los miembros.

Métodos públicos

 FLUIntValidator (QObject *parent, const char *name=0)
 FLUIntValidator (int minimum, int maximum, QObject *parent, const char *name=0)
QValidator::State validate (QString &input, int &) const

Documentación del constructor y destructor

FLUIntValidator::FLUIntValidator ( QObject parent,
const char *  name = 0 
)
FLUIntValidator::FLUIntValidator ( int  minimum,
int  maximum,
QObject parent,
const char *  name = 0 
)

Documentación de las funciones miembro

QValidator::State FLUIntValidator::validate ( QString input,
int  
) const [virtual]

Returns Acceptable if the input is an integer within the valid range, Intermediate if the input is an integer outside the valid range and Invalid if the input is not an integer.

Note: If the valid range consists of just positive integers (e.g. 32 - 100) and input is a negative integer then Invalid is returned.

    int pos = 0;
    s = "abc";
    v.validate( s, pos ); // returns Invalid

    s = "5";
    v.validate( s, pos ); // returns Intermediate

    s = "50";
    v.validate( s, pos ); // returns Valid

Reimplementado de QIntValidator.


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'