Skip to content

Commit

Permalink
generated sip file
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Mar 29, 2018
1 parent 0554739 commit e0a539a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
19 changes: 15 additions & 4 deletions python/core/qgsattributeeditorelement.sip.in
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/app/qgsattributesformproperties.h
Expand Up @@ -122,6 +122,7 @@ class APP_EXPORT QgsAttributesFormProperties : public QWidget, private Ui_QgsAtt
Type mType = Field;
QString mName;
QString mDisplayName;

int mColumnCount = 1;
bool mShowAsGroupBox = false;
bool mShowLabel = true;
Expand Down
1 change: 1 addition & 0 deletions src/core/qgsattributeeditorelement.h
Expand Up @@ -364,6 +364,7 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
, mShowUnlinkButton( true )
{}


/**
* Get the id of the relation which shall be embedded
*
Expand Down

0 comments on commit e0a539a

Please sign in to comment.