mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
35 lines
707 B
C++
35 lines
707 B
C++
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#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;
|
|
|
|
[[nodiscard]] QStringList GetFiles() const;
|
|
[[nodiscard]] int GetMinimumWidth() const;
|
|
|
|
private:
|
|
QListWidget* file_list;
|
|
|
|
QVBoxLayout* vbox_layout;
|
|
QHBoxLayout* hbox_layout;
|
|
|
|
QLabel* description;
|
|
QLabel* update_description;
|
|
QDialogButtonBox* buttons;
|
|
};
|