mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
/************************************************************************
|
|
* 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
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsfieldvalidator.h"
|
|
%End
|
|
public:
|
|
QgsFieldValidator( QObject *parent, const QgsField &field, const QString &defaultValue, const QString &dateFormat = "yyyy-MM-dd" );
|
|
~QgsFieldValidator();
|
|
|
|
virtual State validate( QString &s /Constrained,In,Out/, int &i /In,Out/ ) const;
|
|
|
|
virtual void fixup( QString &s /Constrained/ ) const;
|
|
|
|
|
|
QString dateFormat() const;
|
|
|
|
};
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsfieldvalidator.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|