Skip to content
Permalink
Browse files

Update sip binding

  • Loading branch information
pblottiere committed Jul 11, 2017
1 parent 1897bec commit e92f59ca066e78632b0938cb4b419ee79c127749
Showing with 47 additions and 0 deletions.
  1. +47 −0 python/core/qgsvectorlayerjoininfo.sip
@@ -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;
@@ -137,6 +181,9 @@ Returns whether values from the joined layer should be cached in memory to speed






};


0 comments on commit e92f59c

Please sign in to comment.
You can’t perform that action at this time.