score
Home
Classes
Namespaces
Files
SerialProtocolSettingsWidget.hpp
1
#pragma once
2
3
#include <ossia/detail/config.hpp>
4
#if defined(OSSIA_PROTOCOL_SERIAL)
5
6
#include <Device/Protocol/DeviceSettings.hpp>
7
#include <Device/Protocol/ProtocolSettingsWidget.hpp>
8
class
QLineEdit;
9
class
QTextEdit;
10
class
QWidget;
11
namespace
score
12
{
13
class
ComboBox;
14
}
15
16
namespace
Protocols
17
{
18
class
SerialProtocolSettingsWidget
:
public
Device::ProtocolSettingsWidget
19
{
20
public
:
21
SerialProtocolSettingsWidget
(QWidget* parent =
nullptr
);
22
23
Device::DeviceSettings
getSettings()
const override
;
24
25
void
setSettings(
const
Device::DeviceSettings
& settings)
override
;
26
27
protected
:
28
void
setDefaults();
29
30
protected
:
31
QLineEdit* m_name{};
32
score::ComboBox
* m_port{};
33
score::ComboBox
* m_rate{};
34
QTextEdit* m_codeEdit{};
35
};
36
}
37
38
#endif
Device::ProtocolSettingsWidget
Definition:
ProtocolSettingsWidget.hpp:22
Protocols::SerialProtocolSettingsWidget
Definition:
SerialProtocolSettingsWidget.hpp:19
score::ComboBox
Definition:
ComboBox.hpp:10
score
Base toolkit upon which the software is built.
Definition:
Application.cpp:90
Device::DeviceSettings
Definition:
DeviceSettings.hpp:20