mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Update sip binding
This commit is contained in:
parent
1811a39654
commit
0dca126c55
@ -125,6 +125,18 @@ class QgsEditorWidgetWrapper : QgsWidgetWrapper
|
||||
\param constraintOrigin optional origin for constraints to check. This can be used to limit the constraints tested
|
||||
to only provider or layer based constraints.
|
||||
.. versionadded:: 2.16
|
||||
%End
|
||||
|
||||
void updateConstraint( const QgsVectorLayer *layer, int index, const QgsFeature &feature, QgsFieldConstraints::ConstraintOrigin constraintOrigin = QgsFieldConstraints::ConstraintOriginNotSet );
|
||||
%Docstring
|
||||
Update constraint on a feature coming from a specific layer.
|
||||
\param layer The vector layer where the feature is defined
|
||||
\param index The index of the field to check
|
||||
\param feature The feature to use to evaluate the constraint
|
||||
\param constraintOrigin Optional origin for constraints to check. This
|
||||
can be used to limit the constraints tested to only provider or layer
|
||||
based constraints.
|
||||
.. versionadded:: 3.0
|
||||
%End
|
||||
|
||||
bool isValidConstraint() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user