score
Home
Classes
Namespaces
Files
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
{
12
class
JoystickProtocolSettingsWidget
final :
public
Device::ProtocolSettingsWidget
13
{
14
W_OBJECT(
JoystickProtocolSettingsWidget
)
15
16
public
:
17
JoystickProtocolSettingsWidget
(QWidget* parent =
nullptr
);
18
virtual
~
JoystickProtocolSettingsWidget
();
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
}
Device::ProtocolSettingsWidget
Definition:
ProtocolSettingsWidget.hpp:22
Protocols::JoystickProtocolSettingsWidget
Definition:
JoystickProtocolSettingsWidget.hpp:13
Device::DeviceSettings
Definition:
DeviceSettings.hpp:20