Qt: Implement button mapping dialogs

This commit is contained in:
spycrab
2017-05-20 17:53:17 +02:00
parent faae89861b
commit 33e111e92f
28 changed files with 1871 additions and 3 deletions

View File

@ -0,0 +1,31 @@
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <QSpinBox>
#include <QString>
class MappingWidget;
namespace ControllerEmu
{
class NumericSetting;
};
class MappingNumeric : public QSpinBox
{
public:
MappingNumeric(MappingWidget* widget, ControllerEmu::NumericSetting* ref);
void Clear();
void Update();
private:
void Connect();
MappingWidget* m_parent;
ControllerEmu::NumericSetting* m_setting;
double m_range;
};