1 #ifndef QGSATTRIBUTEEDITORMODEL_H 2 #define QGSATTRIBUTEEDITORMODEL_H 6 #include <QAbstractProxyModel> 8 #include <QItemSelectionModel> 36 FeatureInfoRole = Qt::UserRole,
54 void setInjectNull(
bool injectNull );
71 bool setDisplayExpression(
const QString& expression );
79 QString displayExpression()
const;
102 void onBeginRemoveRows(
const QModelIndex& parent,
int first,
int last );
103 void onEndRemoveRows(
const QModelIndex& parent,
int first,
int last );
104 void onBeginInsertRows(
const QModelIndex& parent,
int first,
int last );
105 void onEndInsertRows(
const QModelIndex& parent,
int first,
int last );
116 #endif // QGSATTRIBUTEEDITORMODEL_H Class for parsing and evaluation of expressions (formerly called "search strings").
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
A model backed by a QgsVectorLayerCache which is able to provide feature/attribute information to a Q...
This class caches features of a given QgsVectorLayer.