mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-25 04:48:25 -05:00
35 lines
741 B
C++
Executable File
35 lines
741 B
C++
Executable File
// 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;
|
|
};
|