QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
This model will connect to the QgsMessageLog singleton and store any messages received. More...
#include <qgsquickmessagelogmodel.h>
Public Member Functions | |
QgsQuickMessageLogModel (QObject *parent=nullptr) | |
Create new message log model. More... | |
QVariant | data (const QModelIndex &index, int role) const override |
QHash< int, QByteArray > | roleNames () const override |
int | rowCount (const QModelIndex &parent) const override |
This model will connect to the QgsMessageLog singleton and store any messages received.
Can be used as a model for QListView, for example QgsQuick.MessageLog (QML only)
Definition at line 41 of file qgsquickmessagelogmodel.h.
QgsQuickMessageLogModel::QgsQuickMessageLogModel | ( | QObject * | parent = nullptr | ) |
Create new message log model.
Definition at line 23 of file qgsquickmessagelogmodel.cpp.
|
override |
Definition at line 55 of file qgsquickmessagelogmodel.cpp.
|
override |
Definition at line 39 of file qgsquickmessagelogmodel.cpp.
|
override |
Definition at line 49 of file qgsquickmessagelogmodel.cpp.