16 #ifndef QGSFIELDCOMBOBOX_H
17 #define QGSFIELDCOMBOBOX_H
41 Q_PROPERTY( QgsFieldProxyModel::Filters filters READ filters WRITE setFilters )
42 Q_PROPERTY(
bool allowEmptyFieldName READ allowEmptyFieldName WRITE setAllowEmptyFieldName )
53 void setFilters( QgsFieldProxyModel::Filters filters );
56 QgsFieldProxyModel::Filters
filters()
const {
return mFieldProxyModel->filters(); }
63 void setAllowEmptyFieldName(
bool allowEmpty );
70 bool allowEmptyFieldName()
const;
73 QString currentField()
const;
91 void setFields(
const QgsFields &fields );
117 void setField(
const QString &fieldName );
120 void indexChanged(
int i );
126 #endif // QGSFIELDCOMBOBOX_H