QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsFieldValidator Class Reference

#include <qgsfieldvalidator.h>

Public Member Functions

 QgsFieldValidator (QObject *parent, const QgsField &field, QString dateFormat="yyyy-MM-dd")
 ~QgsFieldValidator ()
QString dateFormat () const
virtual void fixup (QString &) const override
virtual State validate (QString &, int &) const override

Detailed Description

Definition at line 29 of file qgsfieldvalidator.h.

Constructor & Destructor Documentation

QgsFieldValidator::QgsFieldValidator ( QObject *  parent,
const QgsField field,
QString  dateFormat = "yyyy-MM-dd" 
)

Definition at line 32 of file qgsfieldvalidator.cpp.

QgsFieldValidator::~QgsFieldValidator ( )

Definition at line 89 of file qgsfieldvalidator.cpp.

Member Function Documentation

QString QgsFieldValidator::dateFormat ( ) const
inline

Definition at line 40 of file qgsfieldvalidator.h.

void QgsFieldValidator::fixup ( QString &  s) const
overridevirtual

Definition at line 143 of file qgsfieldvalidator.cpp.

QValidator::State QgsFieldValidator::validate ( QString &  s,
int &  i 
) const
overridevirtual

Definition at line 94 of file qgsfieldvalidator.cpp.


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