QGIS API Documentation
2.2.0-Valmiera
|
#include <qgsfieldvalidator.h>
Public Member Functions | |
QgsFieldValidator (QObject *parent, const QgsField &field, QString dateFormat) | |
~QgsFieldValidator () | |
virtual State | validate (QString &, int &) const |
virtual void | fixup (QString &) const |
QString | dateFormat () const |
Private Attributes | |
QValidator * | mValidator |
QgsField | mField |
QString | mNullValue |
QString | mDateFormat |
Definition at line 29 of file qgsfieldvalidator.h.
QgsFieldValidator::QgsFieldValidator | ( | QObject * | parent, |
const QgsField & | field, | ||
QString | dateFormat | ||
) |
Definition at line 32 of file qgsfieldvalidator.cpp.
References QgsField::length(), mField, mNullValue, mValidator, QgsField::precision(), and QgsField::type().
QgsFieldValidator::~QgsFieldValidator | ( | ) |
Definition at line 89 of file qgsfieldvalidator.cpp.
References mValidator.
|
inline |
Definition at line 40 of file qgsfieldvalidator.h.
Referenced by QgsAttributeEditor::selectDate().
|
virtual |
Definition at line 143 of file qgsfieldvalidator.cpp.
References QgsField::length(), mField, mNullValue, mValidator, and QgsField::type().
|
virtual |
Definition at line 94 of file qgsfieldvalidator.cpp.
References QgsField::length(), mDateFormat, mField, mNullValue, mValidator, QgsDebugMsg, and QgsField::type().
|
private |
Definition at line 49 of file qgsfieldvalidator.h.
Referenced by validate().
|
private |
Definition at line 47 of file qgsfieldvalidator.h.
Referenced by fixup(), QgsFieldValidator(), and validate().
|
private |
Definition at line 48 of file qgsfieldvalidator.h.
Referenced by fixup(), QgsFieldValidator(), and validate().
|
private |
Definition at line 46 of file qgsfieldvalidator.h.
Referenced by fixup(), QgsFieldValidator(), validate(), and ~QgsFieldValidator().