QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
QgsFieldValidator Class Reference

#include <qgsfieldvalidator.h>

Inheritance diagram for QgsFieldValidator:
Inheritance graph
[legend]

Public Member Functions

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

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
virtual

Definition at line 143 of file qgsfieldvalidator.cpp.

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

Definition at line 94 of file qgsfieldvalidator.cpp.


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