16#ifndef QGSLAYERMETADATARESULTSMODEL_H
17#define QGSLAYERMETADATARESULTSMODEL_H
19#include <QAbstractTableModel>
36class QgsMetadataResultsFetcher:
public QObject
46 void fetchMetadata( );
88 int rowCount(
const QModelIndex &parent )
const override;
89 int columnCount(
const QModelIndex &parent )
const override;
90 QVariant data(
const QModelIndex &index,
int role )
const override;
91 QVariant headerData(
int section, Qt::Orientation orientation,
int role )
const override;
105 Metadata = Qt::ItemDataRole::UserRole
146 std::unique_ptr<QgsFeedback> mFeedback;
149 std::vector<std::unique_ptr<QgsMetadataResultsFetcher>> mWorkers;
150 std::vector<std::unique_ptr<QThread>> mWorkerThreads;
Base class for feedback objects to be used for cancellation of something running in a worker thread.