diff --git a/python/gui/auto_generated/qgsrelationeditorwidget.sip.in b/python/gui/auto_generated/qgsrelationeditorwidget.sip.in index 0827dce7617a..fa7f7b1c0f5b 100644 --- a/python/gui/auto_generated/qgsrelationeditorwidget.sip.in +++ b/python/gui/auto_generated/qgsrelationeditorwidget.sip.in @@ -51,6 +51,9 @@ Gets the view mode for the dual view %End void setRelationFeature( const QgsRelation &relation, const QgsFeature &feature ); +%Docstring +Sets the ``relation`` and the ``feature`` +%End void setRelations( const QgsRelation &relation, const QgsRelation &nmrelation ); %Docstring @@ -69,6 +72,9 @@ Sets the ``feature`` being edited and updates the UI unless ``update`` is set to %End void setEditorContext( const QgsAttributeEditorContext &context ); +%Docstring +Sets the editor ``context`` +%End QgsIFeatureSelectionManager *featureSelectionManager(); %Docstring diff --git a/src/gui/qgsrelationeditorwidget.h b/src/gui/qgsrelationeditorwidget.h index b245f147d837..9ae5a97f437e 100644 --- a/src/gui/qgsrelationeditorwidget.h +++ b/src/gui/qgsrelationeditorwidget.h @@ -111,6 +111,9 @@ class GUI_EXPORT QgsRelationEditorWidget : public QgsCollapsibleGroupBox //! Gets the view mode for the dual view QgsDualView::ViewMode viewMode() {return mViewMode;} + /** + * Sets the \a relation and the \a feature + */ void setRelationFeature( const QgsRelation &relation, const QgsFeature &feature ); /** @@ -129,6 +132,9 @@ class GUI_EXPORT QgsRelationEditorWidget : public QgsCollapsibleGroupBox */ void setFeature( const QgsFeature &feature, bool update = true ); + /** + * Sets the editor \a context + */ void setEditorContext( const QgsAttributeEditorContext &context ); /** @@ -193,7 +199,7 @@ class GUI_EXPORT QgsRelationEditorWidget : public QgsCollapsibleGroupBox */ bool showSaveChildEditsButton() const; - /* + /** * Returns the widget's current feature * * \since QGIS 3.14