Skip to content

Commit 8b2ea98

Browse files
committedDec 20, 2016
Add missing bindings
1 parent 83c58d1 commit 8b2ea98

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎python/core/qgsvectorlayer.sip

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,6 +1311,8 @@ class QgsVectorLayer : QgsMapLayer, QgsExpressionContextGenerator
13111311
* @see constraints()
13121312
*/
13131313
void setConstraintExpression( int index, const QString& expression, const QString& description = QString() );
1314+
void setEditorWidgetSetup( int index, const QgsEditorWidgetSetup& setup );
1315+
QgsEditorWidgetSetup editorWidgetSetup( int index ) const;
13141316

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

0 commit comments

Comments
 (0)
Please sign in to comment.