2022-07-27 20:06:50 +02:00
|
|
|
// SPDX-FileCopyrightText: 2016 Citra Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-12-28 15:15:37 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
2022-09-03 23:42:32 +02:00
|
|
|
#include <QScrollArea>
|
2020-12-28 15:15:37 +00:00
|
|
|
|
2021-10-09 02:29:53 +02:00
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
2020-12-28 15:15:37 +00:00
|
|
|
namespace Ui {
|
|
|
|
class ConfigureDebug;
|
|
|
|
}
|
|
|
|
|
2022-09-03 23:42:32 +02:00
|
|
|
class ConfigureDebug : public QScrollArea {
|
2020-12-28 15:15:37 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-10-09 02:29:53 +02:00
|
|
|
explicit ConfigureDebug(const Core::System& system_, QWidget* parent = nullptr);
|
2020-12-28 15:15:37 +00:00
|
|
|
~ConfigureDebug() override;
|
|
|
|
|
|
|
|
void ApplyConfiguration();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void changeEvent(QEvent* event) override;
|
|
|
|
|
|
|
|
void RetranslateUI();
|
|
|
|
void SetConfiguration();
|
|
|
|
|
|
|
|
std::unique_ptr<Ui::ConfigureDebug> ui;
|
2021-10-09 02:29:53 +02:00
|
|
|
|
|
|
|
const Core::System& system;
|
2022-09-05 05:41:15 +02:00
|
|
|
|
|
|
|
bool crash_dump_warning_shown{false};
|
2020-12-28 15:15:37 +00:00
|
|
|
};
|