#include <qgsfeaturelistmodel.h>
Member Enumeration Documentation
- Enumerator:
| FeatureInfoRole |
|
| FeatureRole |
|
Constructor & Destructor Documentation
| QgsFeatureListModel::~QgsFeatureListModel |
( |
| ) |
|
|
virtual |
Member Function Documentation
| int QgsFeatureListModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
| QVariant QgsFeatureListModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
virtual |
| QString QgsFeatureListModel::displayExpression |
( |
| ) |
const |
| bool QgsFeatureListModel::featureByIndex |
( |
const QModelIndex & |
index, |
|
|
QgsFeature & |
feat |
|
) |
| |
| QModelIndex QgsFeatureListModel::fidToIdx |
( |
const QgsFeatureId |
fid | ) |
const |
| QModelIndex QgsFeatureListModel::fidToIndex |
( |
QgsFeatureId |
fid | ) |
|
|
virtual |
| QModelIndexList QgsFeatureListModel::fidToIndexList |
( |
QgsFeatureId |
fid | ) |
|
| Qt::ItemFlags QgsFeatureListModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
virtual |
| QgsFeatureId QgsFeatureListModel::idxToFid |
( |
const QModelIndex & |
index | ) |
const |
| QModelIndex QgsFeatureListModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
virtual |
| QModelIndex QgsFeatureListModel::mapFromMaster |
( |
const QModelIndex & |
sourceIndex | ) |
const |
|
virtual |
| QModelIndex QgsFeatureListModel::mapFromSource |
( |
const QModelIndex & |
sourceIndex | ) |
const |
|
virtual |
| QItemSelection QgsFeatureListModel::mapSelectionFromMaster |
( |
const QItemSelection & |
selection | ) |
const |
|
virtual |
| QItemSelection QgsFeatureListModel::mapSelectionToMaster |
( |
const QItemSelection & |
selection | ) |
const |
|
virtual |
| QModelIndex QgsFeatureListModel::mapToMaster |
( |
const QModelIndex & |
proxyIndex | ) |
const |
|
virtual |
| QModelIndex QgsFeatureListModel::mapToSource |
( |
const QModelIndex & |
proxyIndex | ) |
const |
|
virtual |
| void QgsFeatureListModel::onBeginInsertRows |
( |
const QModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
slot |
| void QgsFeatureListModel::onBeginRemoveRows |
( |
const QModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
slot |
| void QgsFeatureListModel::onEndInsertRows |
( |
const QModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
slot |
| void QgsFeatureListModel::onEndRemoveRows |
( |
const QModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
slot |
| QModelIndex QgsFeatureListModel::parent |
( |
const QModelIndex & |
child | ) |
const |
|
virtual |
| QString QgsFeatureListModel::parserErrorString |
( |
| ) |
|
Returns a detailed message about errors while parsing a QgsExpression.
- Returns
- A message containg information about the parser error.
| int QgsFeatureListModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
| bool QgsFeatureListModel::setDisplayExpression |
( |
const QString |
expression | ) |
|
- Parameters
-
- 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.
The documentation for this class was generated from the following files: