mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-27 00:07:16 -05:00
docs
This commit is contained in:
parent
013b935c9a
commit
0b64a83995
@ -1276,7 +1276,7 @@ Deletes a vertex from a feature.
|
||||
Deletes the selected features
|
||||
|
||||
:param deleteCount: The number of successfully deleted features
|
||||
:param cascade: If the decendants of the feature should be deleted as well
|
||||
:param context: The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
|
||||
:return: ``True`` in case of success and ``False`` otherwise
|
||||
%End
|
||||
@ -1961,7 +1961,7 @@ Deletes a list of attribute fields (but does not commit it)
|
||||
Deletes a feature from the layer (but does not commit it).
|
||||
|
||||
:param fid: The feature id to delete
|
||||
:param cascade: If the decendants of the feature should be deleted as well
|
||||
:param context: The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
|
||||
.. note::
|
||||
|
||||
@ -1976,7 +1976,7 @@ Deletes a feature from the layer (but does not commit it).
|
||||
Deletes a set of features from the layer (but does not commit it)
|
||||
|
||||
:param fids: The feature ids to delete
|
||||
:param cascade: If the decendants of the feature should be deleted as well
|
||||
:param context: The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
|
||||
:return: ``False`` if the layer is not in edit mode or does not support deleting
|
||||
in case of an active transaction depends on the provider implementation
|
||||
|
||||
@ -213,6 +213,7 @@ Deletes a feature from joined layers. The feature id given in
|
||||
parameter is the one coming from the target layer.
|
||||
|
||||
:param fid: The feature id from the target layer to delete
|
||||
:param context: The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
|
||||
:return: ``False`` if an error happened, ``True`` otherwise
|
||||
|
||||
@ -226,6 +227,7 @@ Deletes a list of features from joined layers. Feature ids given
|
||||
in a parameter are those coming from the target layer.
|
||||
|
||||
:param fids: Feature ids from the target layer to delete
|
||||
:param context: The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
|
||||
:return: ``False`` if an error happened, ``True`` otherwise
|
||||
|
||||
|
||||
@ -3176,7 +3176,7 @@ bool QgsVectorLayer::deleteFeatureCascade( QgsFeatureId fid, QgsVectorLayer::Del
|
||||
QgsFeatureIds handledFeatureIds = context->handledFeatures.value( this );
|
||||
if ( handledFeatureIds.contains( fid ) )
|
||||
{
|
||||
// break recursion
|
||||
// avoid endless recursion
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
||||
@ -1295,7 +1295,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
|
||||
/**
|
||||
* Deletes the selected features
|
||||
* \param deleteCount The number of successfully deleted features
|
||||
* \param cascade If the decendants of the feature should be deleted as well
|
||||
* \param context The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
*
|
||||
* \returns TRUE in case of success and FALSE otherwise
|
||||
*/
|
||||
@ -1832,7 +1832,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
|
||||
/**
|
||||
* Deletes a feature from the layer (but does not commit it).
|
||||
* \param fid The feature id to delete
|
||||
* \param cascade If the decendants of the feature should be deleted as well
|
||||
* \param context The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
*
|
||||
* \note Calls to deleteFeature() are only valid for layers in which edits have been enabled
|
||||
* by a call to startEditing(). Changes made to features using this method are not committed
|
||||
@ -1844,7 +1844,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
|
||||
/**
|
||||
* Deletes a set of features from the layer (but does not commit it)
|
||||
* \param fids The feature ids to delete
|
||||
* \param cascade If the decendants of the feature should be deleted as well
|
||||
* \param context The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
*
|
||||
* \returns FALSE if the layer is not in edit mode or does not support deleting
|
||||
* in case of an active transaction depends on the provider implementation
|
||||
|
||||
@ -197,6 +197,7 @@ class CORE_EXPORT QgsVectorLayerJoinBuffer : public QObject, public QgsFeatureSi
|
||||
* parameter is the one coming from the target layer.
|
||||
*
|
||||
* \param fid The feature id from the target layer to delete
|
||||
* \param context The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
*
|
||||
* \returns FALSE if an error happened, TRUE otherwise
|
||||
*
|
||||
@ -209,6 +210,7 @@ class CORE_EXPORT QgsVectorLayerJoinBuffer : public QObject, public QgsFeatureSi
|
||||
* in a parameter are those coming from the target layer.
|
||||
*
|
||||
* \param fids Feature ids from the target layer to delete
|
||||
* \param context The chain of features who will be deleted for feedback and to avoid endless recursions
|
||||
*
|
||||
* \returns FALSE if an error happened, TRUE otherwise
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user