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