Skip to content

Commit

Permalink
Add missing bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 20, 2016
1 parent 83c58d1 commit 8b2ea98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/qgsvectorlayer.sip
Expand Up @@ -1311,6 +1311,8 @@ class QgsVectorLayer : QgsMapLayer, QgsExpressionContextGenerator
* @see constraints()
*/
void setConstraintExpression( int index, const QString& expression, const QString& description = QString() );
void setEditorWidgetSetup( int index, const QgsEditorWidgetSetup& setup );
QgsEditorWidgetSetup editorWidgetSetup( int index ) const;

/** Calculates a list of unique values contained within an attribute in the layer. Note that
* in some circumstances when unsaved changes are present for the layer then the returned list
Expand Down

0 comments on commit 8b2ea98

Please sign in to comment.