16#ifndef QGSVALUERELATIONFIELDKIT_H
17#define QGSVALUERELATIONFIELDKIT_H
42 ValueRelationItem(
const QVariant &key,
const QString &value,
const QString &description = QString(),
const QVariant group = QVariant() )
45 , description( description )
65 QString
id()
const override;
66 QString
representValue(
QgsVectorLayer *layer,
int fieldIndex,
const QVariantMap &config,
const QVariant &cache,
const QVariant &value )
const override;
68 QVariant
sortValue(
QgsVectorLayer *layer,
int fieldIndex,
const QVariantMap &config,
const QVariant &cache,
const QVariant &value )
const override;
76 static QStringList valueToStringList(
const QVariant &value );
98 static bool expressionRequiresFormScope(
const QString &expression );
107 static QSet<QString> expressionFormAttributes(
const QString &expression );
116 static QSet<QString> expressionFormVariables(
const QString &expression );
126 static bool expressionRequiresParentFormScope(
const QString &expression );
135 static QSet<QString> expressionParentFormAttributes(
const QString &expression );
144 static QSet<QString> expressionParentFormVariables(
const QString &expression );
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
A context for field formatter containing information like the project.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Represents a vector layer which manages a vector based data sets.
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)