QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
A QAbstractItemModel subclass for displaying the results from a QgsAbtractValidityCheck. More...
#include <qgsvaliditycheckresultswidget.h>
Public Types | |
enum | Roles { DescriptionRole = Qt::UserRole + 1 } |
Model roles. More... | |
Public Member Functions | |
QgsValidityCheckResultsModel (const QList< QgsValidityCheckResult > &results, QObject *parent=nullptr) | |
Constructor for QgsValidityCheckResultsModel, showing the specified list of checks results. More... | |
int | columnCount (const QModelIndex &parent) const override |
QVariant | data (const QModelIndex &index, int role) const override |
QModelIndex | index (int row, int column, const QModelIndex &parent) const override |
QModelIndex | parent (const QModelIndex &child) const override |
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
A QAbstractItemModel subclass for displaying the results from a QgsAbtractValidityCheck.
Definition at line 37 of file qgsvaliditycheckresultswidget.h.
Model roles.
Enumerator | |
---|---|
DescriptionRole | Result detailed description. |
Definition at line 43 of file qgsvaliditycheckresultswidget.h.
QgsValidityCheckResultsModel::QgsValidityCheckResultsModel | ( | const QList< QgsValidityCheckResult > & | results, |
QObject * | parent = nullptr |
||
) |
Constructor for QgsValidityCheckResultsModel, showing the specified list of checks results.
Definition at line 29 of file qgsvaliditycheckresultswidget.cpp.
|
override |
Definition at line 54 of file qgsvaliditycheckresultswidget.cpp.
|
override |
Definition at line 60 of file qgsvaliditycheckresultswidget.cpp.
|
override |
Definition at line 36 of file qgsvaliditycheckresultswidget.cpp.
|
override |
Definition at line 42 of file qgsvaliditycheckresultswidget.cpp.
|
override |
Definition at line 48 of file qgsvaliditycheckresultswidget.cpp.