Loading...
Searching...
No Matches
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>
8class QLineEdit;
9class QTextEdit;
10class QWidget;
11namespace score
12{
13class ComboBox;
14}
15
16namespace Protocols
17{
19{
20public:
21 SerialProtocolSettingsWidget(QWidget* parent = nullptr);
22
23 Device::DeviceSettings getSettings() const override;
24
25 void setSettings(const Device::DeviceSettings& settings) override;
26
27protected:
28 void setDefaults();
29
30protected:
31 QLineEdit* m_name{};
32 score::ComboBox* m_port{};
33 score::ComboBox* m_rate{};
34 QTextEdit* m_codeEdit{};
35};
36}
37
38#endif
Definition ProtocolSettingsWidget.hpp:22
Definition SerialProtocolSettingsWidget.hpp:19
Definition ComboBox.hpp:10
Base toolkit upon which the software is built.
Definition Application.cpp:90
Definition DeviceSettings.hpp:20