This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2022-04-23 08:59:50 +00:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-04-17 03:27:38 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QDialogButtonBox;
|
|
|
|
class QHBoxLayout;
|
|
|
|
class QLabel;
|
|
|
|
class QListWidget;
|
|
|
|
class QVBoxLayout;
|
|
|
|
|
|
|
|
class InstallDialog : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit InstallDialog(QWidget* parent, const QStringList& files);
|
|
|
|
~InstallDialog() override;
|
|
|
|
|
2020-09-23 17:22:01 +00:00
|
|
|
[[nodiscard]] QStringList GetFiles() const;
|
|
|
|
[[nodiscard]] int GetMinimumWidth() const;
|
2020-04-17 03:27:38 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
QListWidget* file_list;
|
|
|
|
|
|
|
|
QVBoxLayout* vbox_layout;
|
|
|
|
QHBoxLayout* hbox_layout;
|
|
|
|
|
|
|
|
QLabel* description;
|
2020-07-05 13:29:39 +00:00
|
|
|
QLabel* update_description;
|
2020-04-17 03:27:38 +00:00
|
|
|
QDialogButtonBox* buttons;
|
2020-07-01 20:15:57 +00:00
|
|
|
};
|