mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-05 16:29:59 +00:00
aa35e51fcd
Allows the compiler to warn against cases where the return value isn't used (which would be a bug).
36 lines
726 B
C++
36 lines
726 B
C++
// Copyright 2020 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#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;
|
|
};
|