configure_input_profile_dialog.h 928 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Copyright 2020 yuzu Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <memory>
  6. #include <QDialog>
  7. class QPushButton;
  8. class ConfigureInputPlayer;
  9. class InputProfiles;
  10. namespace Core {
  11. class System;
  12. }
  13. namespace InputCommon {
  14. class InputSubsystem;
  15. }
  16. namespace Ui {
  17. class ConfigureInputProfileDialog;
  18. }
  19. class ConfigureInputProfileDialog : public QDialog {
  20. Q_OBJECT
  21. public:
  22. explicit ConfigureInputProfileDialog(QWidget* parent,
  23. InputCommon::InputSubsystem* input_subsystem,
  24. InputProfiles* profiles, Core::System& system);
  25. ~ConfigureInputProfileDialog() override;
  26. private:
  27. void changeEvent(QEvent* event) override;
  28. void RetranslateUI();
  29. std::unique_ptr<Ui::ConfigureInputProfileDialog> ui;
  30. ConfigureInputPlayer* profile_widget;
  31. };