2016-01-24 17:34:05 +00:00
|
|
|
// Copyright 2016 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2016-01-24 20:54:04 +00:00
|
|
|
#pragma once
|
2016-01-24 17:34:05 +00:00
|
|
|
|
2016-09-18 00:38:01 +00:00
|
|
|
#include <memory>
|
2016-09-20 15:21:23 +00:00
|
|
|
#include <QWidget>
|
2016-01-24 17:34:05 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigureDebug;
|
|
|
|
}
|
|
|
|
|
2016-09-18 00:38:01 +00:00
|
|
|
class ConfigureDebug : public QWidget {
|
2016-01-24 17:34:05 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2023-08-01 22:40:39 +00:00
|
|
|
explicit ConfigureDebug(bool is_powered_on, QWidget* parent = nullptr);
|
2018-12-07 15:44:37 +00:00
|
|
|
~ConfigureDebug() override;
|
2016-01-24 17:34:05 +00:00
|
|
|
|
2019-05-26 04:39:23 +00:00
|
|
|
void ApplyConfiguration();
|
|
|
|
void RetranslateUI();
|
|
|
|
void SetConfiguration();
|
2023-02-18 22:24:15 +00:00
|
|
|
void SetupPerGameUI();
|
2016-01-24 17:34:05 +00:00
|
|
|
|
2023-03-27 11:29:17 +00:00
|
|
|
private:
|
2016-01-24 20:54:04 +00:00
|
|
|
std::unique_ptr<Ui::ConfigureDebug> ui;
|
2023-08-01 22:40:39 +00:00
|
|
|
bool is_powered_on;
|
2016-01-24 17:34:05 +00:00
|
|
|
};
|