forked from qt-creator/qt-creator
It's an initial copy of the qtbase/examples/qtconcurrent/imagescaling. The goal is to implement it using TaskTree and compare both implementations. Change-Id: I92953a70a3330ac679823060e75e5f39971ae444 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io>
30 lines
503 B
C++
30 lines
503 B
C++
// Copyright (C) 2023 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#ifndef DOWNLOADDIALOG_H
|
|
#define DOWNLOADDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui {
|
|
class DownloadDialog;
|
|
}
|
|
QT_END_NAMESPACE
|
|
|
|
class DownloadDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DownloadDialog(QWidget *parent = nullptr);
|
|
~DownloadDialog();
|
|
|
|
QList<QUrl> getUrls() const;
|
|
|
|
private:
|
|
Ui::DownloadDialog *ui;
|
|
};
|
|
|
|
#endif // DOWNLOADDIALOG_H
|