|
| QgsFeatureListComboBox (QWidget *parent=nullptr) |
| Create a new QgsFeatureListComboBox, optionally specifying a parent. More...
|
|
bool | allowNull () const |
| Determines if a NULL value should be available in the list. More...
|
|
QgsFeatureRequest | currentFeatureRequest () const |
| Shorthand for getting a feature request to query the currently selected feature. More...
|
|
QModelIndex | currentModelIndex () const |
| The index of the currently selected item. More...
|
|
QString | displayExpression () const |
| The display expression will be used to display features as well as the value to match the typed text against. More...
|
|
QString | filterExpression () const |
| An additional expression to further restrict the available features. More...
|
|
void | focusOutEvent (QFocusEvent *event) override |
|
Q_DECL_DEPRECATED QString | identifierField () const |
| Field name that will be used to uniquely identify the current feature. More...
|
|
QStringList | identifierFields () const |
| Field name that will be used to uniquely identify the current feature. More...
|
|
Q_DECL_DEPRECATED QVariant | identifierValue () const |
| The identifier value of the currently selected feature. More...
|
|
QVariantList | identifierValues () const |
| The identifier values of the currently selected feature. More...
|
|
void | keyPressEvent (QKeyEvent *event) override |
|
int | nullIndex () const |
| Returns the current index of the NULL value, or -1 if NULL values are not allowed. More...
|
|
void | setAllowNull (bool allowNull) |
| Determines if a NULL value should be available in the list. More...
|
|
void | setCurrentFeature (const QgsFeature &feature) |
| Sets the current index by using the given feature. More...
|
|
void | setDisplayExpression (const QString &displayExpression) |
| The display expression will be used to display features as well as the value to match the typed text against. More...
|
|
void | setFilterExpression (const QString &filterExpression) |
| An additional expression to further restrict the available features. More...
|
|
Q_DECL_DEPRECATED void | setIdentifierField (const QString &identifierField) |
| Field name that will be used to uniquely identify the current feature. More...
|
|
void | setIdentifierFields (const QStringList &identifierFields) |
| Field name that will be used to uniquely identify the current feature. More...
|
|
Q_DECL_DEPRECATED void | setIdentifierValue (const QVariant &identifierValue) |
| The identifier value of the currently selected feature. More...
|
|
void | setIdentifierValues (const QVariantList &identifierValues) |
| The identifier values of the currently selected feature. More...
|
|
void | setIdentifierValuesToNull () |
| Sets the identifier values of the currently selected feature to NULL value(s). More...
|
|
void | setSourceLayer (QgsVectorLayer *sourceLayer) |
| The layer from which features should be listed. More...
|
|
QgsVectorLayer * | sourceLayer () const |
| The layer from which features should be listed. More...
|
|