Skip to content

Commit

Permalink
Update sip binding
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Aug 28, 2017
1 parent 1897bec commit e92f59c
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions python/core/qgsvectorlayerjoininfo.sip
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,50 @@ Returns whether values from the joined layer should be cached in memory to speed
Sets whether the form has to be dynamically updated with joined fields
when a feature is being created in the target layer.
.. versionadded:: 3.0
%End

bool isEditable() const;
%Docstring
Returns whether joined fields may be edited through the form of
the target layer.
.. versionadded:: 3.0
:rtype: bool
%End

void setEditable( bool enabled );
%Docstring
Sets whether the form of the target layer allows to edit joined fields.
.. versionadded:: 3.0
%End

bool isUpsertOnEdit() const;
%Docstring
Returns whether a feature created on the target layer has to impact
the joined layer by creating a new feature if necessary.
.. versionadded:: 3.0
:rtype: bool
%End

void setUpsertOnEdit( bool enabled );
%Docstring
Sets whether a feature created on the target layer has to impact
the joined layer by creating a new feature if necessary.
.. versionadded:: 3.0
%End

bool isDeleteCascade() const;
%Docstring
Returns whether a feature deleted on the target layer has to impact the
joined layer by deleting the corresponding joined feature.
.. versionadded:: 3.0
:rtype: bool
%End

void setDeleteCascade( bool enabled );
%Docstring
Sets whether a feature deleted on the target layer has to impact the
joined layer by deleting the corresponding joined feature.
.. versionadded:: 3.0
%End

QString prefixedFieldName( const QgsField &field ) const;
Expand Down Expand Up @@ -137,6 +181,9 @@ Returns whether values from the joined layer should be cached in memory to speed






};


Expand Down

0 comments on commit e92f59c

Please sign in to comment.