16#ifndef QGSLAYERMETADATARESULTSMODEL_H
17#define QGSLAYERMETADATARESULTSMODEL_H
19#include <QAbstractTableModel>
37class QgsMetadataResultsFetcher :
public QObject
70class GUI_EXPORT QgsLayerMetadataResultsModel :
public QAbstractTableModel
81 ~QgsLayerMetadataResultsModel();
86 int rowCount(
const QModelIndex &parent )
const override;
87 int columnCount(
const QModelIndex &parent )
const override;
88 QVariant data(
const QModelIndex &index,
int role )
const override;
89 QVariant headerData(
int section, Qt::Orientation orientation,
int role )
const override;
107 Metadata = Qt::ItemDataRole::UserRole,
146 void progressChanged(
int progress );
149 std::unique_ptr<QgsFeedback> mFeedback;
152 std::vector<std::unique_ptr<QgsMetadataResultsFetcher>> mWorkers;
153 std::vector<std::unique_ptr<QThread>> mWorkerThreads;
Base class for feedback objects to be used for cancellation of something running in a worker thread.
#define SIP_MONKEYPATCH_SCOPEENUM_UNNEST(OUTSIDE_CLASS, FORMERNAME)