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