Skip to content
Permalink
Browse files

Code layout

  • Loading branch information
elpaso committed Mar 3, 2020
1 parent 195efa4 commit af8a55b64a13338209891a482b77bffc4c533bae
Showing with 13 additions and 1 deletion.
  1. +6 −0 python/gui/auto_generated/qgsrelationeditorwidget.sip.in
  2. +7 −1 src/gui/qgsrelationeditorwidget.h
@@ -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
@@ -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

0 comments on commit af8a55b

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