From a1ffcd5c7d185b200403744805bf4dd2ba48d5aa Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Tue, 12 Jan 2021 23:15:12 +0200 Subject: [PATCH] Improved class description docs --- python/core/auto_generated/qgspolymorphicrelation.sip.in | 4 ++-- src/core/qgspolymorphicrelation.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/core/auto_generated/qgspolymorphicrelation.sip.in b/python/core/auto_generated/qgspolymorphicrelation.sip.in index ef9dcf07ebf..87be88284c7 100644 --- a/python/core/auto_generated/qgspolymorphicrelation.sip.in +++ b/python/core/auto_generated/qgspolymorphicrelation.sip.in @@ -14,9 +14,9 @@ class QgsPolymorphicRelation { %Docstring -A polymorphic relation consists of the same properties like an ordinary relation except for the referenced layer which is calculated based on one or several fields of the referencing layer. +A polymorphic relation consists of the same properties like a normal relation except for the referenced layer which is calculated based on one or several fields of the referencing layer. In its most simple form, the referencing layer will just insert the layer name of the referenced layer into this field. -To be more precise, a Polymorphic relation is a set of standard relations having the same referencing layer but having the referenced layer dynamically defined. +To be more precise, a polymorphic relation is a set of normal relations having the same referencing layer but having the referenced layer dynamically defined. The polymorphic setting of the layer is solved by using an expression which has to match some properties of the the referenced layer like the table name, schema, uri, layer id, ... .. versionadded:: 3.18 diff --git a/src/core/qgspolymorphicrelation.h b/src/core/qgspolymorphicrelation.h index 28232f3b2a5..32bf681c599 100644 --- a/src/core/qgspolymorphicrelation.h +++ b/src/core/qgspolymorphicrelation.h @@ -37,9 +37,9 @@ class QgsPolymorphicRelationPrivate; class QgsExpressionContext; /** - * A polymorphic relation consists of the same properties like an ordinary relation except for the referenced layer which is calculated based on one or several fields of the referencing layer. + * A polymorphic relation consists of the same properties like a normal relation except for the referenced layer which is calculated based on one or several fields of the referencing layer. * In its most simple form, the referencing layer will just insert the layer name of the referenced layer into this field. - * To be more precise, a Polymorphic relation is a set of standard relations having the same referencing layer but having the referenced layer dynamically defined. + * To be more precise, a polymorphic relation is a set of normal relations having the same referencing layer but having the referenced layer dynamically defined. * The polymorphic setting of the layer is solved by using an expression which has to match some properties of the the referenced layer like the table name, schema, uri, layer id, ... * \ingroup core * \class QgsPolymorphicRelation