2022-05-15 02:06:02 +02:00
|
|
|
// SPDX-FileCopyrightText: 2016 Citra Emulator Project
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2016-01-24 21:54:04 +01:00
|
|
|
#pragma once
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2016-09-18 09:38:01 +09:00
|
|
|
#include <memory>
|
2022-09-03 04:39:28 -07:00
|
|
|
#include <QScrollArea>
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2021-09-02 21:40:55 -04:00
|
|
|
namespace Core {
|
|
|
|
|
class System;
|
|
|
|
|
}
|
|
|
|
|
|
2016-01-24 18:34:05 +01:00
|
|
|
namespace Ui {
|
|
|
|
|
class ConfigureDebug;
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-03 04:39:28 -07:00
|
|
|
class ConfigureDebug : public QScrollArea {
|
2016-01-24 18:34:05 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2021-07-30 10:07:32 -04:00
|
|
|
explicit ConfigureDebug(const Core::System& system_, QWidget* parent = nullptr);
|
2018-12-02 14:10:28 -05:00
|
|
|
~ConfigureDebug() override;
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2019-05-26 00:39:23 -04:00
|
|
|
void ApplyConfiguration();
|
2016-01-24 18:34:05 +01:00
|
|
|
|
|
|
|
|
private:
|
2019-06-05 18:39:46 -04:00
|
|
|
void changeEvent(QEvent* event) override;
|
|
|
|
|
|
|
|
|
|
void RetranslateUI();
|
2019-05-26 00:39:23 -04:00
|
|
|
void SetConfiguration();
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2016-01-24 21:54:04 +01:00
|
|
|
std::unique_ptr<Ui::ConfigureDebug> ui;
|
2021-09-02 21:40:55 -04:00
|
|
|
|
2021-07-30 10:07:32 -04:00
|
|
|
const Core::System& system;
|
2022-07-10 11:29:10 -04:00
|
|
|
|
|
|
|
|
bool crash_dump_warning_shown{false};
|
2016-01-24 18:34:05 +01:00
|
|
|
};
|