20 #ifndef QGSFIELDVALIDATOR_H 21 #define QGSFIELDVALIDATOR_H 38 QgsFieldValidator( QObject *parent,
const QgsField &field,
const QString &defaultValue,
const QString &dateFormat =
"yyyy-MM-dd" );
50 QValidator *mValidator =
nullptr;
53 QString mDefaultValue;
59 #endif // QGSFIELDVALIDATOR_H
QString dateFormat() const
Encapsulate a field in an attribute table or data source.