16 #ifndef QGSFIELDCOMBOBOX_H 17 #define QGSFIELDCOMBOBOX_H 40 Q_PROPERTY( QgsFieldProxyModel::Filters filters READ filters WRITE setFilters )
41 Q_PROPERTY(
bool allowEmptyFieldName READ allowEmptyFieldName WRITE setAllowEmptyFieldName )
62 void setAllowEmptyFieldName(
bool allowEmpty );
69 bool allowEmptyFieldName()
const;
72 QString currentField()
const;
82 void fieldChanged(
const QString &fieldName );
94 void setField(
const QString &fieldName );
97 void indexChanged(
int i );
103 #endif // QGSFIELDCOMBOBOX_H Base class for all map layer types.
const Filters & filters() const
Returns the filters controlling displayed fields.
The QgsFieldComboBox is a combo box which displays the list of fields of a given layer.
The QgsFieldProxyModel class provides an easy to use model to display the list of fields of a layer...
Represents a vector layer which manages a vector based data sets.