2017-05-23 14:44:34 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsfieldvalidator.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-23 00:58:54 +00:00
|
|
|
|
|
|
|
class QgsFieldValidator : QValidator
|
2011-03-22 23:18:06 +00:00
|
|
|
{
|
2017-05-23 14:44:34 +02:00
|
|
|
|
2011-03-22 23:18:06 +00:00
|
|
|
%TypeHeaderCode
|
2017-05-23 14:44:34 +02:00
|
|
|
#include "qgsfieldvalidator.h"
|
2011-03-22 23:18:06 +00:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
public:
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsFieldValidator( QObject *parent, const QgsField &field, const QString &defaultValue, const QString &dateFormat = "yyyy-MM-dd" );
|
2011-03-22 23:18:06 +00:00
|
|
|
~QgsFieldValidator();
|
|
|
|
|
2018-01-31 12:43:02 +01:00
|
|
|
virtual State validate( QString &s /Constrained,In,Out/, int &i /In,Out/ ) const;
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-24 10:26:03 +02:00
|
|
|
virtual void fixup( QString &s /Constrained/ ) const;
|
2014-05-27 23:22:50 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2015-02-03 02:21:52 +01:00
|
|
|
QString dateFormat() const;
|
2017-05-23 14:44:34 +02:00
|
|
|
|
2011-03-22 23:18:06 +00:00
|
|
|
};
|
2017-05-23 14:44:34 +02:00
|
|
|
|
2017-09-25 14:20:39 +10:00
|
|
|
|
2017-05-23 14:44:34 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsfieldvalidator.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|