Sh4ltInputDevice.hpp
1 #pragma once
2 
3 #include <Device/Protocol/DeviceInterface.hpp>
4 #include <Device/Protocol/DeviceSettings.hpp>
5 
6 #include <Gfx/GfxInputDevice.hpp>
7 #include <Gfx/SharedInputSettings.hpp>
8 
9 #include <ossia/gfx/texture_parameter.hpp>
10 #include <ossia/network/base/device.hpp>
11 #include <ossia/network/base/protocol.hpp>
12 
13 #include <QLineEdit>
14 
15 class QComboBox;
16 namespace Gfx::Sh4lt
17 {
19 {
20  SCORE_CONCRETE("7b3a7adb-af9e-4dd5-9bd7-641f4d33fa2d")
21 public:
22  QString prettyName() const noexcept override;
23  QUrl manual() const noexcept override;
24 
25  Device::DeviceInterface* makeDevice(
26  const Device::DeviceSettings& settings,
27  const Explorer::DeviceDocumentPlugin& plugin,
28  const score::DocumentContext& ctx) override;
29  const Device::DeviceSettings& defaultSettings() const noexcept override;
30 
31  Device::ProtocolSettingsWidget* makeSettingsWidget() override;
32 };
33 
35 {
36 public:
37  InputSettingsWidget(QWidget* parent = nullptr);
38 
39  Device::DeviceSettings getSettings() const override;
40 };
41 
42 }
Definition: DeviceInterface.hpp:66
Definition: ProtocolSettingsWidget.hpp:22
Definition: Sh4ltInputDevice.hpp:19
Definition: Sh4ltInputDevice.hpp:35
Definition: SharedInputSettings.hpp:26
Definition: SharedInputSettings.hpp:51
Definition: DeviceSettings.hpp:20
Definition: DocumentContext.hpp:18