#include <qgsfeaturelistmodel.h>
Definition at line 39 of file qgsfeaturelistmodel.h.
◆ Role
◆ QgsFeatureListModel()
◆ columnCount()
int QgsFeatureListModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ data()
QVariant QgsFeatureListModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ displayExpression()
QString QgsFeatureListModel::displayExpression |
( |
| ) |
const |
◆ featureByIndex()
bool QgsFeatureListModel::featureByIndex |
( |
const QModelIndex & |
index, |
|
|
QgsFeature & |
feat |
|
) |
| |
◆ fidToIdx()
QModelIndex QgsFeatureListModel::fidToIdx |
( |
const QgsFeatureId |
fid | ) |
const |
◆ fidToIndex()
QModelIndex QgsFeatureListModel::fidToIndex |
( |
QgsFeatureId |
fid | ) |
|
|
overridevirtual |
◆ fidToIndexList()
QModelIndexList QgsFeatureListModel::fidToIndexList |
( |
QgsFeatureId |
fid | ) |
|
◆ flags()
Qt::ItemFlags QgsFeatureListModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ idxToFid()
QgsFeatureId QgsFeatureListModel::idxToFid |
( |
const QModelIndex & |
index | ) |
const |
◆ index()
QModelIndex QgsFeatureListModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
override |
◆ injectNull()
bool QgsFeatureListModel::injectNull |
( |
| ) |
|
Returns the current state of null value injection.
- Returns
- If a NULL value is added
- Since
- QGIS 2.9
Definition at line 204 of file qgsfeaturelistmodel.cpp.
◆ layerCache()
◆ mapFromMaster()
QModelIndex QgsFeatureListModel::mapFromMaster |
( |
const QModelIndex & |
sourceIndex | ) |
const |
|
virtual |
◆ mapFromSource()
QModelIndex QgsFeatureListModel::mapFromSource |
( |
const QModelIndex & |
sourceIndex | ) |
const |
|
override |
◆ mapSelectionFromMaster()
QItemSelection QgsFeatureListModel::mapSelectionFromMaster |
( |
const QItemSelection & |
selection | ) |
const |
|
virtual |
◆ mapSelectionToMaster()
QItemSelection QgsFeatureListModel::mapSelectionToMaster |
( |
const QItemSelection & |
selection | ) |
const |
|
virtual |
◆ mapToMaster()
QModelIndex QgsFeatureListModel::mapToMaster |
( |
const QModelIndex & |
proxyIndex | ) |
const |
|
virtual |
◆ mapToSource()
QModelIndex QgsFeatureListModel::mapToSource |
( |
const QModelIndex & |
proxyIndex | ) |
const |
|
override |
◆ masterModel()
◆ onBeginInsertRows
void QgsFeatureListModel::onBeginInsertRows |
( |
const QModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
slot |
◆ onBeginRemoveRows
void QgsFeatureListModel::onBeginRemoveRows |
( |
const QModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
slot |
◆ onEndInsertRows
void QgsFeatureListModel::onEndInsertRows |
( |
const QModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
slot |
◆ onEndRemoveRows
void QgsFeatureListModel::onEndRemoveRows |
( |
const QModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
slot |
◆ parent()
QModelIndex QgsFeatureListModel::parent |
( |
const QModelIndex & |
child | ) |
const |
|
override |
◆ parserErrorString()
QString QgsFeatureListModel::parserErrorString |
( |
| ) |
|
Returns a detailed message about errors while parsing a QgsExpression.
- Returns
- A message containing information about the parser error.
Definition at line 232 of file qgsfeaturelistmodel.cpp.
◆ rowCount()
int QgsFeatureListModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ setDisplayExpression()
bool QgsFeatureListModel::setDisplayExpression |
( |
const QString & |
expression | ) |
|
- Parameters
-
expression | A QgsExpression compatible string. |
- Returns
- true if the expression could be set, false if there was a parse error. If it fails, the old expression will still be applied. Call parserErrorString() for a meaningful error message.
Definition at line 214 of file qgsfeaturelistmodel.cpp.
◆ setInjectNull()
void QgsFeatureListModel::setInjectNull |
( |
bool |
injectNull | ) |
|
If true is specified, a NULL value will be injected.
- Parameters
-
injectNull | state of null value injection |
- Since
- QGIS 2.9
Definition at line 194 of file qgsfeaturelistmodel.cpp.
◆ setSourceModel()
The documentation for this class was generated from the following files: