mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2025-01-04 23:25:19 +00:00
b1076859c4
Configuration -> General -> Debug is getting a bit crowded. yzct12345 submit this originally, so I'm tagging them as a co-author. The original #6714 also modifies the Controls -> Player N sections, but it looks like more work is needed to make the current area scrollable. Co-authored-by: yzct12345 <87620833+yzct12345@users.noreply.github.com>
35 lines
639 B
C++
35 lines
639 B
C++
// SPDX-FileCopyrightText: 2016 Citra Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <QScrollArea>
|
|
|
|
namespace Core {
|
|
class System;
|
|
}
|
|
|
|
namespace Ui {
|
|
class ConfigureDebug;
|
|
}
|
|
|
|
class ConfigureDebug : public QScrollArea {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureDebug(const Core::System& system_, QWidget* parent = nullptr);
|
|
~ConfigureDebug() override;
|
|
|
|
void ApplyConfiguration();
|
|
|
|
private:
|
|
void changeEvent(QEvent* event) override;
|
|
|
|
void RetranslateUI();
|
|
void SetConfiguration();
|
|
|
|
std::unique_ptr<Ui::ConfigureDebug> ui;
|
|
|
|
const Core::System& system;
|
|
};
|