|
Eneboo - Documentación para desarrolladores
|
#include <asciivalidator.h>
Métodos públicos | |
| AsciiValidator (QObject *parent, const char *name=0) | |
| AsciiValidator (bool funcName, QObject *parent, const char *name=0) | |
| AsciiValidator (const QString &allow, QObject *parent, const char *name=0) | |
| ~AsciiValidator () | |
| QValidator::State | validate (QString &, int &) const |
| AsciiValidator::AsciiValidator | ( | QObject * | parent, |
| const char * | name = 0 |
||
| ) |
| AsciiValidator::~AsciiValidator | ( | ) |
| QValidator::State AsciiValidator::validate | ( | QString & | input, |
| int & | pos | ||
| ) | const [virtual] |
This pure virtual function returns Invalid if input is invalid according to this validator's rules, Intermediate if it is likely that a little more editing will make the input acceptable (e.g. the user types '4' into a widget which accepts integers between 10 and 99) and Acceptable if the input is valid.
The function can change input and pos (the cursor position) if it wants to.
Implementa QValidator.
1.7.4