forked from qt-creator/qt-creator
Change-Id: I9075dca4c121f0a6041087bc8407569308135614 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
35 lines
743 B
C++
35 lines
743 B
C++
// Copyright (C) 2023 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#ifndef VIEWER_H
|
|
#define VIEWER_H
|
|
|
|
#include "recipe.h"
|
|
|
|
#include <tasking/tasktree.h>
|
|
#include <tasking/tasktreerunner.h>
|
|
|
|
#include <QNetworkAccessManager>
|
|
#include <QtWidgets>
|
|
|
|
class Viewer : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Viewer(QWidget *parent = nullptr);
|
|
|
|
private:
|
|
QLineEdit *m_lineEdit = nullptr;
|
|
QProgressBar *m_progressBar = nullptr;
|
|
QListWidget *m_listWidget = nullptr;
|
|
QStatusBar *m_statusBar = nullptr;
|
|
|
|
QNetworkAccessManager m_nam;
|
|
const Tasking::Storage<ExternalData> m_storage;
|
|
const Tasking::Group m_recipe;
|
|
Tasking::TaskTreeRunner m_taskTreeRunner;
|
|
};
|
|
|
|
#endif // VIEWER_H
|