2016-01-24 18:34:05 +01:00
|
|
|
// Copyright 2016 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2016-01-24 21:54:04 +01:00
|
|
|
#pragma once
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2016-09-18 02:38:01 +02:00
|
|
|
#include <memory>
|
2016-09-20 17:21:23 +02:00
|
|
|
#include <QWidget>
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2021-09-03 03:40:55 +02:00
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
2016-01-24 18:34:05 +01:00
|
|
|
namespace Ui {
|
|
|
|
class ConfigureDebug;
|
|
|
|
}
|
|
|
|
|
2016-09-18 02:38:01 +02:00
|
|
|
class ConfigureDebug : public QWidget {
|
2016-01-24 18:34:05 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-07-30 16:07:32 +02:00
|
|
|
explicit ConfigureDebug(const Core::System& system_, QWidget* parent = nullptr);
|
2018-12-02 20:10:28 +01:00
|
|
|
~ConfigureDebug() override;
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2019-05-26 06:39:23 +02:00
|
|
|
void ApplyConfiguration();
|
2016-01-24 18:34:05 +01:00
|
|
|
|
|
|
|
private:
|
2019-06-06 00:39:46 +02:00
|
|
|
void changeEvent(QEvent* event) override;
|
|
|
|
|
|
|
|
void RetranslateUI();
|
2019-05-26 06:39:23 +02: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-03 03:40:55 +02:00
|
|
|
|
2021-07-30 16:07:32 +02:00
|
|
|
const Core::System& system;
|
2016-01-24 18:34:05 +01:00
|
|
|
};
|