mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-28 20:32:40 -06:00
44 lines
928 B
C++
44 lines
928 B
C++
// Copyright 2020 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <QDialog>
|
|
|
|
class QPushButton;
|
|
|
|
class ConfigureInputPlayer;
|
|
|
|
class InputProfiles;
|
|
|
|
namespace Core {
|
|
class System;
|
|
}
|
|
|
|
namespace InputCommon {
|
|
class InputSubsystem;
|
|
}
|
|
|
|
namespace Ui {
|
|
class ConfigureInputProfileDialog;
|
|
}
|
|
|
|
class ConfigureInputProfileDialog : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureInputProfileDialog(QWidget* parent,
|
|
InputCommon::InputSubsystem* input_subsystem,
|
|
InputProfiles* profiles, Core::System& system);
|
|
~ConfigureInputProfileDialog() override;
|
|
|
|
private:
|
|
void changeEvent(QEvent* event) override;
|
|
void RetranslateUI();
|
|
|
|
std::unique_ptr<Ui::ConfigureInputProfileDialog> ui;
|
|
|
|
ConfigureInputPlayer* profile_widget;
|
|
};
|