diff options
author | Ameer <aj662@drexel.edu> | 2020-07-14 13:04:02 -0400 |
---|---|---|
committer | Ameer <aj662@drexel.edu> | 2020-07-14 13:04:02 -0400 |
commit | 93fe982a0c3a5bfb7fa5df97ebced0a7692ccaf3 (patch) | |
tree | c4ab9e3acff296733b00effd85371bf04db6491f /src/yuzu/install_dialog.h | |
parent | 042c6602a057c990bf2eeec31b88c48e987050c7 (diff) | |
parent | e2730372b8b26bf3141bf91107f9982e270f751b (diff) |
Rebase to master
Diffstat (limited to 'src/yuzu/install_dialog.h')
-rw-r--r-- | src/yuzu/install_dialog.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/yuzu/install_dialog.h b/src/yuzu/install_dialog.h new file mode 100644 index 000000000..e4aba1b06 --- /dev/null +++ b/src/yuzu/install_dialog.h @@ -0,0 +1,36 @@ +// 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; + + QStringList GetFiles() const; + bool ShouldOverwriteFiles() const; + int GetMinimumWidth() const; + +private: + QListWidget* file_list; + + QVBoxLayout* vbox_layout; + QHBoxLayout* hbox_layout; + + QLabel* description; + QLabel* update_description; + QDialogButtonBox* buttons; +}; |