JoystickProtocolSettingsWidget.hpp
1 #pragma once
2 #include <Device/Protocol/DeviceSettings.hpp>
3 #include <Device/Protocol/ProtocolSettingsWidget.hpp>
4 
5 #include <verdigris>
6 
7 class QLineEdit;
8 class QCheckBox;
9 
10 namespace Protocols
11 {
13 {
15 
16 public:
17  JoystickProtocolSettingsWidget(QWidget* parent = nullptr);
19 
20  Device::DeviceSettings getSettings() const override;
21  void setSettings(const Device::DeviceSettings& settings) override;
22 
23 protected:
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