mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/fieldformatter/qgsrelationreferencefieldformatter.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
class QgsRelationReferenceFieldFormatter : QgsFieldFormatter
|
|
{
|
|
%Docstring
|
|
Field formatter for a relation reference field.
|
|
A value relation field formatter looks up the values from
|
|
features on another layer.
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsrelationreferencefieldformatter.h"
|
|
%End
|
|
public:
|
|
|
|
QgsRelationReferenceFieldFormatter();
|
|
%Docstring
|
|
Default constructor of field formatter for a relation reference field.
|
|
%End
|
|
|
|
virtual QString id() const;
|
|
|
|
virtual QString representValue( QgsVectorLayer *layer, int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;
|
|
|
|
virtual QVariant sortValue( QgsVectorLayer *layer, int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/fieldformatter/qgsrelationreferencefieldformatter.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|