Loading...
Searching...
No Matches
JoystickProtocolSettingsWidget.hpp
1#pragma once
2#include <Device/Protocol/DeviceSettings.hpp>
3#include <Device/Protocol/ProtocolSettingsWidget.hpp>
4
5#include <verdigris>
6
7class QLineEdit;
8class QCheckBox;
9
10namespace Protocols
11{
13{
15
16public:
17 JoystickProtocolSettingsWidget(QWidget* parent = nullptr);
19
20 Device::DeviceSettings getSettings() const override;
21 void setSettings(const Device::DeviceSettings& settings) override;
22
23protected:
24 QLineEdit* m_deviceNameEdit{};
25 QCheckBox* m_gamepad{};
26 Device::DeviceSettings m_settings;
27};
28}
Definition ProtocolSettingsWidget.hpp:22
Definition JoystickProtocolSettingsWidget.hpp:13
Definition DeviceSettings.hpp:20