2017-06-06 11:49:49 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-07-06 22:40:15 +00:00
|
|
|
#include "DolphinQt/Config/Mapping/MappingWidget.h"
|
2017-06-06 11:49:49 +00:00
|
|
|
|
|
|
|
class QHBoxLayout;
|
|
|
|
|
|
|
|
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
|
|
|
|
QHBoxLayout* m_main_layout;
|
|
|
|
};
|