// Copyright 2017 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #pragma once #include #include class MappingWidget; namespace ControllerEmu { class NumericSetting; } class MappingNumeric : public QSpinBox { public: MappingNumeric(MappingWidget* widget, ControllerEmu::NumericSetting* ref); private: void ConfigChanged(); ControllerEmu::NumericSetting& m_setting; };