|
@@ -268,24 +268,35 @@ This element will load a relation editor onto the form. |
|
|
%End |
|
|
public: |
|
|
|
|
|
QgsAttributeEditorRelation( const QString &name, const QString &relationId, QgsAttributeEditorElement *parent ); |
|
|
QgsAttributeEditorRelation( const QString &name, const QString &relationId, QgsAttributeEditorElement *parent ); |
|
|
%Docstring |
|
|
|
|
|
.. deprecated:: since QGIS 3.0.2. The name parameter is not used for anything and overwritten by the relationId internally. |
|
|
%End |
|
|
|
|
|
QgsAttributeEditorRelation( const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent ); |
|
|
%Docstring |
|
|
|
|
|
.. deprecated:: since QGIS 3.0.2. The name parameter is not used for anything and overwritten by the relationId internally. |
|
|
%End |
|
|
|
|
|
QgsAttributeEditorRelation( const QString &relationId, QgsAttributeEditorElement *parent ); |
|
|
%Docstring |
|
|
Creates a new element which embeds a relation. |
|
|
|
|
|
:param name: The name of this element |
|
|
:param relationId: The id of the relation to embed |
|
|
:param parent: The parent (used as container) |
|
|
%End |
|
|
|
|
|
QgsAttributeEditorRelation( const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent ); |
|
|
QgsAttributeEditorRelation( const QgsRelation &relation, QgsAttributeEditorElement *parent ); |
|
|
%Docstring |
|
|
Creates a new element which embeds a relation. |
|
|
|
|
|
:param name: The name of this element |
|
|
:param relation: The relation to embed |
|
|
:param parent: The parent (used as container) |
|
|
%End |
|
|
|
|
|
|
|
|
const QgsRelation &relation() const; |
|
|
%Docstring |
|
|
Get the id of the relation which shall be embedded |
|
|