|
| QgsFeatureListModel (QgsAttributeTableFilterModel *sourceModel, QObject *parent=nullptr) |
| Constructor for QgsFeatureListModel. More...
|
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
QVariant | data (const QModelIndex &index, int role) const override |
|
QString | displayExpression () const |
|
bool | featureByIndex (const QModelIndex &index, QgsFeature &feat) |
|
QModelIndex | fidToIdx (QgsFeatureId fid) const |
| Returns the model index corresponding to a feature ID. More...
|
|
QModelIndex | fidToIndex (QgsFeatureId fid) override |
|
QModelIndexList | fidToIndexList (QgsFeatureId fid) |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
QgsFeatureId | idxToFid (const QModelIndex &index) const |
| Returns the feature ID corresponding to an index from the model. More...
|
|
bool | injectNull () |
| Returns the current state of null value injection. More...
|
|
QgsVectorLayerCache * | layerCache () |
| Returns the vector layer cache which is being used to populate the model. More...
|
|
virtual QModelIndex | mapFromMaster (const QModelIndex &sourceIndex) const |
|
QModelIndex | mapFromSource (const QModelIndex &sourceIndex) const override |
|
virtual QItemSelection | mapSelectionFromMaster (const QItemSelection &selection) const |
|
virtual QItemSelection | mapSelectionToMaster (const QItemSelection &selection) const |
|
virtual QModelIndex | mapToMaster (const QModelIndex &proxyIndex) const |
|
QModelIndex | mapToSource (const QModelIndex &proxyIndex) const override |
|
QgsAttributeTableModel * | masterModel () |
|
QModelIndex | parent (const QModelIndex &child) const override |
|
QString | parserErrorString () |
| Returns a detailed message about errors while parsing a QgsExpression. More...
|
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
bool | setDisplayExpression (const QString &expression) |
|
void | setInjectNull (bool injectNull) |
| If true is specified, a NULL value will be injected. More...
|
|
void | setSortByDisplayExpression (bool sortByDisplayExpression, Qt::SortOrder order=Qt::AscendingOrder) |
| Sort this model by its display expression. More...
|
|
virtual void | setSourceModel (QgsAttributeTableFilterModel *sourceModel) |
|
bool | sortByDisplayExpression () const |
| Sort this model by its display expression. More...
|
|
virtual | ~QgsFeatureModel ()=default |
|
virtual QModelIndex | fidToIndex (QgsFeatureId fid)=0 |
|