File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,50 @@ Returns whether values from the joined layer should be cached in memory to speed
101101 Sets whether the form has to be dynamically updated with joined fields
102102 when a feature is being created in the target layer.
103103.. versionadded:: 3.0
104+ %End
105+
106+ bool isEditable() const;
107+ %Docstring
108+ Returns whether joined fields may be edited through the form of
109+ the target layer.
110+ .. versionadded:: 3.0
111+ :rtype: bool
112+ %End
113+
114+ void setEditable( bool enabled );
115+ %Docstring
116+ Sets whether the form of the target layer allows to edit joined fields.
117+ .. versionadded:: 3.0
118+ %End
119+
120+ bool isUpsertOnEdit() const;
121+ %Docstring
122+ Returns whether a feature created on the target layer has to impact
123+ the joined layer by creating a new feature if necessary.
124+ .. versionadded:: 3.0
125+ :rtype: bool
126+ %End
127+
128+ void setUpsertOnEdit( bool enabled );
129+ %Docstring
130+ Sets whether a feature created on the target layer has to impact
131+ the joined layer by creating a new feature if necessary.
132+ .. versionadded:: 3.0
133+ %End
134+
135+ bool isDeleteCascade() const;
136+ %Docstring
137+ Returns whether a feature deleted on the target layer has to impact the
138+ joined layer by deleting the corresponding joined feature.
139+ .. versionadded:: 3.0
140+ :rtype: bool
141+ %End
142+
143+ void setDeleteCascade( bool enabled );
144+ %Docstring
145+ Sets whether a feature deleted on the target layer has to impact the
146+ joined layer by deleting the corresponding joined feature.
147+ .. versionadded:: 3.0
104148%End
105149
106150 QString prefixedFieldName( const QgsField &field ) const;
@@ -137,6 +181,9 @@ Returns whether values from the joined layer should be cached in memory to speed
137181
138182
139183
184+
185+
186+
140187};
141188
142189
You can’t perform that action at this time.
0 commit comments