82 void setRelationId(
const QString&
id );
89 void setRelationName(
const QString& name );
96 void setReferencingLayer(
const QString&
id );
103 void setReferencedLayer(
const QString&
id );
113 void addFieldPair(
const QString& referencingField,
const QString& referencedField );
123 void addFieldPair( FieldPair fieldPair );
197 QString referencingLayerId()
const;
212 QString referencedLayerId()
const;
235 bool isValid()
const;
238 void updateRelationStatus();
265 #endif // QGSRELATION_H
Wrapper for iterator of features from vector data provider or vector layer.
QString referencedField() const
Get the name of the referenced field.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
FieldPair()
Default constructor: NULL strings.
Defines a relation between matchin fields of the two involved tables of a relation.
QString referencingField() const
Get the name of the referencing field.
This class wraps a request for features to a vector layer (or directly its vector data provider)...
FieldPair(const QString &referencingField, const QString &referencedField)
Constructor which takes two fields.
Q_NOWARN_DEPRECATED_POP Q_DECLARE_METATYPE(QgsExpression::Interval)
Represents a vector layer which manages a vector based data sets.