16#ifndef QGSFIELDCOMBOBOX_H
17#define QGSFIELDCOMBOBOX_H
41 Q_PROPERTY(
bool allowEmptyFieldName READ allowEmptyFieldName WRITE setAllowEmptyFieldName )
60 void setAllowEmptyFieldName(
bool allowEmpty );
66 bool allowEmptyFieldName()
const;
69 QString currentField()
const;
87 void setFields(
const QgsFields &fields );
113 void setField(
const QString &fieldName );
116 void indexChanged(
int i );
The QgsFieldComboBox is a combo box which displays the list of fields of a given layer.
void fieldChanged(const QString &fieldName)
Emitted when the currently selected field changes.
The QgsFieldProxyModel class provides an easy to use model to display the list of fields of a layer.
const Filters & filters() const
Returns the filters controlling displayed fields.
Container of fields for a vector layer.
Base class for all map layer types.
Represents a vector layer which manages a vector based data sets.