2017-06-06 11:49:49 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-06-06 11:49:49 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-07-06 22:40:15 +00:00
|
|
|
#include "DolphinQt/Config/Mapping/MappingWidget.h"
|
2017-06-06 11:49:49 +00:00
|
|
|
|
2019-03-16 16:55:47 +00:00
|
|
|
class QGridLayout;
|
2017-06-06 11:49:49 +00:00
|
|
|
|
|
|
|
class HotkeyGraphics final : public MappingWidget
|
|
|
|
{
|
2018-05-13 20:16:20 +00:00
|
|
|
Q_OBJECT
|
2017-06-06 11:49:49 +00:00
|
|
|
public:
|
|
|
|
explicit HotkeyGraphics(MappingWindow* window);
|
|
|
|
|
|
|
|
InputConfig* GetConfig() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void LoadSettings() override;
|
|
|
|
void SaveSettings() override;
|
|
|
|
void CreateMainLayout();
|
|
|
|
|
|
|
|
// Main
|
2019-03-16 16:55:47 +00:00
|
|
|
QGridLayout* m_main_layout;
|
2017-06-06 11:49:49 +00:00
|
|
|
};
|