Add missing bindings

This commit is contained in:
Matthias Kuhn 2016-12-07 10:32:09 +01:00
parent 83c58d1c6c
commit 8b2ea98871

View File

@ -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