mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-13 00:07:27 -05:00
Update sip bindings
This commit is contained in:
parent
c23b1678d7
commit
c1c81eae94
@ -372,6 +372,18 @@ class QgsVectorLayer : QgsMapLayer
|
||||
*/
|
||||
QgsFeatureList selectedFeatures();
|
||||
|
||||
/**
|
||||
* Get an iterator of the selected features
|
||||
*
|
||||
* @param request You may specify a request, e.g. to limit the set of requested attributes.
|
||||
* Any filter on the request will be discarded.
|
||||
*
|
||||
* @return Iterator over the selected features
|
||||
*
|
||||
* @see selectedFeaturesIds()
|
||||
*/
|
||||
QgsFeatureIterator selectedFeaturesIterator( QgsFeatureRequest request = QgsFeatureRequest() );
|
||||
|
||||
/**
|
||||
* Return reference to identifiers of selected features
|
||||
*
|
||||
|
||||
@ -2296,7 +2296,6 @@ const QgsFeatureIds& QgsVectorLayer::selectedFeaturesIds() const
|
||||
return mSelectedFeatureIds;
|
||||
}
|
||||
|
||||
|
||||
QgsFeatureList QgsVectorLayer::selectedFeatures()
|
||||
{
|
||||
QgsFeatureList features;
|
||||
|
||||
@ -731,6 +731,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
|
||||
* @return A list of { @link QgsFeature } 's
|
||||
*
|
||||
* @see selectedFeaturesIds()
|
||||
* @see selectedFeaturesIterator() which is more memory friendly when handling large selections
|
||||
*/
|
||||
QgsFeatureList selectedFeatures();
|
||||
|
||||
@ -743,6 +744,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
|
||||
* @return Iterator over the selected features
|
||||
*
|
||||
* @see selectedFeaturesIds()
|
||||
* @see selectedFeatures()
|
||||
*/
|
||||
QgsFeatureIterator selectedFeaturesIterator( QgsFeatureRequest request = QgsFeatureRequest() );
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user