QGIS/python/gui/qgsfieldvalidator.sip

39 lines
1.5 KiB
Plaintext
Raw Normal View History

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 *
************************************************************************/
class QgsFieldValidator : QValidator
{
2017-05-23 14:44:34 +02:00
%TypeHeaderCode
2017-05-23 14:44:34 +02:00
#include "qgsfieldvalidator.h"
%End
public:
QgsFieldValidator( QObject *parent, const QgsField &field, const QString &defaultValue, const QString &dateFormat = "yyyy-MM-dd" );
~QgsFieldValidator();
2017-05-24 10:26:03 +02:00
virtual State validate( QString &s /Constrained/, int &i /In,Out/ ) const;
virtual void fixup( QString &s /Constrained/ ) const;
2014-05-27 23:22:50 +02:00
2015-02-03 02:21:52 +01:00
QString dateFormat() const;
2017-05-23 14:44:34 +02:00
%Docstring
:rtype: str
%End
};
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 *
************************************************************************/