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 09:38:01 +09:00
|
|
|
#include <memory>
|
2016-09-21 00:21:23 +09:00
|
|
|
#include <QWidget>
|
2016-01-24 18:34:05 +01:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigureDebug;
|
|
|
|
}
|
|
|
|
|
2016-09-18 09:38:01 +09:00
|
|
|
class ConfigureDebug : public QWidget {
|
2016-01-24 18:34:05 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2023-08-02 01:40:39 +03:00
|
|
|
explicit ConfigureDebug(bool is_powered_on, QWidget* parent = nullptr);
|
2018-12-07 16:44:37 +01:00
|
|
|
~ConfigureDebug() override;
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2019-05-26 00:39:23 -04:00
|
|
|
void ApplyConfiguration();
|
|
|
|
void RetranslateUI();
|
|
|
|
void SetConfiguration();
|
2023-02-18 23:24:15 +01:00
|
|
|
void SetupPerGameUI();
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2023-03-27 14:29:17 +03:00
|
|
|
private:
|
2016-01-24 21:54:04 +01:00
|
|
|
std::unique_ptr<Ui::ConfigureDebug> ui;
|
2023-08-02 01:40:39 +03:00
|
|
|
bool is_powered_on;
|
2016-01-24 18:34:05 +01:00
|
|
|
};
|