QGIS/python/core/fieldkit/qgsvaluemapfieldkit.sip

30 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-12-04 17:23:37 +01:00
/***************************************************************************
qgsvaluemapfieldkit.sip - QgsValueMapFieldKit
---------------------
begin : 3.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 QgsValueMapFieldKit : QgsFieldKit
{
%TypeHeaderCode
#include "qgsvaluemapfieldkit.h"
%End
public:
QgsValueMapFieldKit();
QString id() const;
QString representValue( QgsVectorLayer* vl, int fieldIdx, const QVariantMap& config, const QVariant& cache, const QVariant& value ) const;
QVariant sortValue( QgsVectorLayer* vl, int fieldIdx, const QVariantMap& config, const QVariant& cache, const QVariant& value ) const;
};