Skip to content

Commit e0a539a

Browse files
committed
generated sip file
1 parent 0554739 commit e0a539a

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

python/core/qgsattributeeditorelement.sip.in

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,24 +268,35 @@ This element will load a relation editor onto the form.
268268
%End
269269
public:
270270

271-
QgsAttributeEditorRelation( const QString &name, const QString &relationId, QgsAttributeEditorElement *parent );
271+
QgsAttributeEditorRelation( const QString &name, const QString &relationId, QgsAttributeEditorElement *parent );
272+
%Docstring
273+
274+
.. deprecated:: since QGIS 3.0.2. The name parameter is not used for anything and overwritten by the relationId internally.
275+
%End
276+
277+
QgsAttributeEditorRelation( const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent );
278+
%Docstring
279+
280+
.. deprecated:: since QGIS 3.0.2. The name parameter is not used for anything and overwritten by the relationId internally.
281+
%End
282+
283+
QgsAttributeEditorRelation( const QString &relationId, QgsAttributeEditorElement *parent );
272284
%Docstring
273285
Creates a new element which embeds a relation.
274286

275-
:param name: The name of this element
276287
:param relationId: The id of the relation to embed
277288
:param parent: The parent (used as container)
278289
%End
279290

280-
QgsAttributeEditorRelation( const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent );
291+
QgsAttributeEditorRelation( const QgsRelation &relation, QgsAttributeEditorElement *parent );
281292
%Docstring
282293
Creates a new element which embeds a relation.
283294

284-
:param name: The name of this element
285295
:param relation: The relation to embed
286296
:param parent: The parent (used as container)
287297
%End
288298

299+
289300
const QgsRelation &relation() const;
290301
%Docstring
291302
Get the id of the relation which shall be embedded

src/app/qgsattributesformproperties.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ class APP_EXPORT QgsAttributesFormProperties : public QWidget, private Ui_QgsAtt
122122
Type mType = Field;
123123
QString mName;
124124
QString mDisplayName;
125+
125126
int mColumnCount = 1;
126127
bool mShowAsGroupBox = false;
127128
bool mShowLabel = true;

src/core/qgsattributeeditorelement.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
364364
, mShowUnlinkButton( true )
365365
{}
366366

367+
367368
/**
368369
* Get the id of the relation which shall be embedded
369370
*

0 commit comments

Comments
 (0)