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