A QAbstractItemModel subclass for displaying the results from a QgsAbstractValidityCheck.
More...
#include <qgsvaliditycheckresultswidget.h>
A QAbstractItemModel subclass for displaying the results from a QgsAbstractValidityCheck.
- Since
- QGIS 3.6
Definition at line 37 of file qgsvaliditycheckresultswidget.h.
◆ CustomRole
Custom model roles.
- Note
- Prior to QGIS 3.36 this was available as QgsValidityCheckResultsModel::Roles
- Since
- QGIS 3.36
Enumerator |
---|
Description | Result detailed description.
|
Definition at line 50 of file qgsvaliditycheckresultswidget.h.
◆ QgsValidityCheckResultsModel()
QgsValidityCheckResultsModel::QgsValidityCheckResultsModel |
( |
const QList< QgsValidityCheckResult > & |
results, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
◆ columnCount()
int QgsValidityCheckResultsModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
◆ data()
QVariant QgsValidityCheckResultsModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ index()
QModelIndex QgsValidityCheckResultsModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
|
override |
◆ parent()
QModelIndex QgsValidityCheckResultsModel::parent |
( |
const QModelIndex & |
child | ) |
const |
|
override |
◆ rowCount()
int QgsValidityCheckResultsModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
The documentation for this class was generated from the following files: