mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Doxygen updates for changed method names
This commit is contained in:
parent
5be2bc1014
commit
17fe7e8aec
@ -1392,7 +1392,7 @@ Draws a vertex symbol at (screen) coordinates x, y. (Useful to assist vertex edi
|
||||
QgsExpressionContext *context = 0 ) const;
|
||||
%Docstring
|
||||
Returns the calculated default value for the specified field index. The default
|
||||
value may be taken from a client side default value expression (see setDefaultValueExpression())
|
||||
value may be taken from a client side default value expression (see setDefaultValueDefinition())
|
||||
or taken from the underlying data provider.
|
||||
\param index field index
|
||||
\param feature optional feature to use for default value evaluation. If passed,
|
||||
@ -1402,7 +1402,7 @@ Draws a vertex symbol at (screen) coordinates x, y. (Useful to assist vertex edi
|
||||
specified, a default context will be created
|
||||
:return: calculated default value
|
||||
.. versionadded:: 3.0
|
||||
.. seealso:: setDefaultValueExpression()
|
||||
.. seealso:: setDefaultValueDefinition()
|
||||
:rtype: QVariant
|
||||
%End
|
||||
|
||||
|
@ -1321,7 +1321,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
|
||||
|
||||
/**
|
||||
* Returns the calculated default value for the specified field index. The default
|
||||
* value may be taken from a client side default value expression (see setDefaultValueExpression())
|
||||
* value may be taken from a client side default value expression (see setDefaultValueDefinition())
|
||||
* or taken from the underlying data provider.
|
||||
* \param index field index
|
||||
* \param feature optional feature to use for default value evaluation. If passed,
|
||||
@ -1331,7 +1331,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
|
||||
* specified, a default context will be created
|
||||
* \returns calculated default value
|
||||
* \since QGIS 3.0
|
||||
* \see setDefaultValueExpression()
|
||||
* \see setDefaultValueDefinition()
|
||||
*/
|
||||
QVariant defaultValue( int index, const QgsFeature &feature = QgsFeature(),
|
||||
QgsExpressionContext *context = nullptr ) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user