Class: QgsFeaturePickerModel¶
Provides a list of features based on filter conditions.
Features are fetched asynchronously.
Note
This is an abstract class, with methods which must be implemented by a subclass.
The following methods must be implemented: QgsFeaturePickerModelBase.requestToReloadCurrentFeature()
Class Hierarchy¶
Base classes¶
Provides a list of features based on filter conditions. |
|
Abstract Methods
Allows specifying one value that does not need to match the filter criteria but will still be available in the model as NULL value(s). |
Methods
Returns the current feature |
|
Set the feature to the given feature id |
Signals
Emitted when the current feature changes |
- class qgis.core.QgsFeaturePickerModel[source]¶
Bases:
QgsFeaturePickerModelBase
- __init__(parent: QObject | None = None)
Create a new QgsFeaturePickerModel, optionally specifying a
parent
.- Parameters:
parent (Optional[QObject] = None)
- extraIdentifierValue()¶
- feature(self) QgsFeature [source]¶
Returns the current feature
- Return type:
- signal featureChanged(feature: QgsFeature)[source]¶
Emitted when the current feature changes
- Parameters:
feature (QgsFeature)
- abstract requestToReloadCurrentFeature()¶
- setExtraIdentifierValue()¶
- abstract setExtraIdentifierValueToNull(self)[source]¶
Allows specifying one value that does not need to match the filter criteria but will still be available in the model as NULL value(s).
Added in version 3.10.
- setExtraIdentifierValueUnguarded()¶