1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-23 00:05:43 -04:00
QGIS/python/core/fieldkit/qgsrelationreferencefieldkit.sip

31 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-12-04 17:23:37 +01:00
/***************************************************************************
qgsrelationreferencefieldkit.sip - QgsRelationReferenceFieldKit
---------------------
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 QgsRelationReferenceFieldKit : QgsFieldKit
{
%TypeHeaderCode
#include "qgsrelationreferencefieldkit"
%End
public:
QgsRelationReferenceFieldKit();
QString id() const;
2016-12-04 18:16:31 +01:00
virtual QString representValue( QgsVectorLayer* layer, int fieldIndex, const QVariantMap& config, const QVariant& cache, const QVariant& value ) const override;
2016-12-04 17:23:37 +01:00
2016-12-04 18:16:31 +01:00
virtual QVariant sortValue( QgsVectorLayer *layer, int fieldIndex, const QVariantMap&config, const QVariant& cache, const QVariant& value ) const override;
2016-12-04 17:23:37 +01:00
};