16 #ifndef QGSVALUERELATIONFIELDKIT_H 17 #define QGSVALUERELATIONFIELDKIT_H 19 #include "qgis_core.h" 61 QString id()
const override;
62 QString representValue(
QgsVectorLayer *layer,
int fieldIndex,
const QVariantMap &config,
const QVariant &cache,
const QVariant &value )
const override;
64 QVariant sortValue(
QgsVectorLayer *layer,
int fieldIndex,
const QVariantMap &config,
const QVariant &cache,
const QVariant &value )
const override;
66 QVariant createCache(
QgsVectorLayer *layer,
int fieldIndex,
const QVariantMap &config )
const override;
72 static QStringList valueToStringList(
const QVariant &value );
94 static bool expressionRequiresFormScope(
const QString &expression );
103 static QSet<QString> expressionFormAttributes(
const QString &expression );
112 static QSet<QString> expressionFormVariables(
const QString &expression );
120 static bool expressionIsUsable(
const QString &expression,
const QgsFeature &feature );
134 #endif // QGSVALUERELATIONFIELDKIT_H
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Q_DECLARE_METATYPE(QgsMeshTimeSettings)
Reads and writes project states.
Represents a vector layer which manages a vector based data sets.