28 if ( mBackend->
addFeature( layer, defaultValues, defaultGeometry, f, parentWidget, showModal, hideParent ) )
30 mAddedFeatures[layer].insert( f->
id() );
60 return mBackend->
copyMoveFeatures( layer, request, dx, dy, errorMsg, topologicalEditing, topologicalLayer );
70 QMapIterator<QgsVectorLayer *, QgsFeatureIds> it( mAddedFeatures );
71 while ( it.hasNext() )
74 it.key()->deleteFeatures( it.value() );
77 mAddedFeatures.clear();
This class wraps a request for features to a vector layer (or directly its vector data provider).
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
A geometry is the spatial representation of a feature.
Represents a vector layer which manages a vector based data sets.
QMap< int, QVariant > QgsAttributeMap