QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
16 #ifndef QGSVALUERELATIONFIELDKIT_H
17 #define QGSVALUERELATIONFIELDKIT_H
19 #include "qgis_core.h"
42 ValueRelationItem(
const QVariant &key,
const QString &value,
const QString &description = QString() )
45 , description( description )
56 typedef QVector < QgsValueRelationFieldFormatter::ValueRelationItem >
ValueRelationCache;
63 QString
id()
const override;
64 QString
representValue(
QgsVectorLayer *layer,
int fieldIndex,
const QVariantMap &config,
const QVariant &cache,
const QVariant &value )
const override;
66 QVariant
sortValue(
QgsVectorLayer *layer,
int fieldIndex,
const QVariantMap &config,
const QVariant &cache,
const QVariant &value )
const override;
74 static QStringList valueToStringList(
const QVariant &value );
97 static bool expressionRequiresFormScope(
const QString &expression );
106 static QSet<QString> expressionFormAttributes(
const QString &expression );
115 static QSet<QString> expressionFormVariables(
const QString &expression );
125 static bool expressionRequiresParentFormScope(
const QString &expression );
134 static QSet<QString> expressionParentFormAttributes(
const QString &expression );
143 static QSet<QString> expressionParentFormVariables(
const QString &expression );
168 #endif // QGSVALUERELATIONFIELDKIT_H
Q_DECLARE_METATYPE(QgsMeshTimeSettings)