mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
/***************************************************************************
|
|
qgsdatetimefieldkit.sip - QgsDateTimeFieldKit
|
|
|
|
---------------------
|
|
begin : 2.12.2016
|
|
copyright : (C) 2016 by Matthias Kuhn
|
|
email : matthias@opengis.ch
|
|
***************************************************************************
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
***************************************************************************/
|
|
class QgsDateTimeFieldKit : QgsFieldKit
|
|
{
|
|
%TypeHeaderCode
|
|
#include "qgsdatetimefieldkit.h"
|
|
%End
|
|
public:
|
|
QgsDateTimeFieldKit();
|
|
|
|
QString id() const;
|
|
|
|
virtual QString representValue( QgsVectorLayer* layer, int fieldIndex, const QVariantMap& config, const QVariant& cache, const QVariant& value ) const;
|
|
|
|
static QString defaultFormat( const QVariant::Type type );
|
|
};
|