mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-05 23:03:46 +00:00
6d8d7ebc66
- Remove the overwrite files checkbox, it will always overwrite - The progressbar now reflects the progress in terms of data transferred.
36 lines
737 B
C++
36 lines
737 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;
|
|
|
|
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;
|
|
};
|