score
Home
Classes
Namespaces
Files
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
{
18
class
InputFactory
final :
public
SharedInputProtocolFactory
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
34
class
InputSettingsWidget
final :
public
SharedInputSettingsWidget
35
{
36
public
:
37
InputSettingsWidget
(QWidget* parent =
nullptr
);
38
39
Device::DeviceSettings
getSettings()
const override
;
40
};
41
42
}
Device::DeviceInterface
Definition:
DeviceInterface.hpp:66
Device::ProtocolSettingsWidget
Definition:
ProtocolSettingsWidget.hpp:22
Gfx::Sh4lt::InputFactory
Definition:
Sh4ltInputDevice.hpp:19
Gfx::Sh4lt::InputSettingsWidget
Definition:
Sh4ltInputDevice.hpp:35
Gfx::SharedInputProtocolFactory
Definition:
SharedInputSettings.hpp:26
Gfx::SharedInputSettingsWidget
Definition:
SharedInputSettings.hpp:51
Device::DeviceSettings
Definition:
DeviceSettings.hpp:20
score::DocumentContext
Definition:
DocumentContext.hpp:18