|
| QgsFeaturePickerModel (QObject *parent=nullptr) |
| Create a new QgsFeaturePickerModel, optionally specifying a parent. More...
|
|
QgsFeature | feature () const |
| Returns the current feature. More...
|
|
void | setExtraIdentifierValueToNull () override |
| 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). More...
|
|
void | setFeature (const QgsFeatureId &fid) |
| Set the feature to the given feature id. More...
|
|
| QgsFeaturePickerModelBase (QObject *parent=nullptr) |
| Create a new QgsFeaturePickerModelBase, optionally specifying a parent. More...
|
|
| ~QgsFeaturePickerModelBase () override |
|
bool | allowNull () const |
| Add a NULL entry to the list. More...
|
|
int | columnCount (const QModelIndex &parent) const override |
|
QVariant | data (const QModelIndex &index, int role) const override |
|
QString | displayExpression () const |
| The display expression will be used for. More...
|
|
int | extraIdentifierValueIndex () const |
| The index at which the extra identifier value is available within the model. More...
|
|
bool | extraValueDoesNotExist () const |
| Flag indicating that the extraIdentifierValue does not exist in the data. More...
|
|
bool | fetchGeometry () const |
| Returns if the geometry is fetched. More...
|
|
int | fetchLimit () const |
| Returns the feature request fetch limit. More...
|
|
QString | filterExpression () const |
| An additional filter expression to apply, next to the filterValue. More...
|
|
QString | filterValue () const |
| This value will be used to filter the features available from this model. More...
|
|
QModelIndex | index (int row, int column, const QModelIndex &parent) const override |
|
bool | isLoading () const |
| Indicator if the model is currently performing any feature iteration in the background. More...
|
|
QModelIndex | parent (const QModelIndex &child) const override |
|
int | rowCount (const QModelIndex &parent) const override |
|
void | setAllowNull (bool allowNull) |
| Add a NULL entry to the list. More...
|
|
void | setDisplayExpression (const QString &displayExpression) |
| The display expression will be used for. More...
|
|
virtual void | setExtraIdentifierValueToNull ()=0 |
| 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). More...
|
|
void | setFetchGeometry (bool fetchGeometry) |
| Defines if the geometry will be fetched. More...
|
|
void | setFetchLimit (int fetchLimit) |
| Defines the feature request fetch limit If set to 0, no limit is applied when fetching. More...
|
|
void | setFilterExpression (const QString &filterExpression) |
| An additional filter expression to apply, next to the filterValue. More...
|
|
void | setFilterValue (const QString &filterValue) |
| This value will be used to filter the features available from this model. More...
|
|
void | setSourceLayer (QgsVectorLayer *sourceLayer) |
| The source layer from which features will be fetched. More...
|
|
QgsVectorLayer * | sourceLayer () const |
| The source layer from which features will be fetched. More...
|
|