Loading...
Searching...
No Matches
MIDIProtocolSettingsWidget.hpp
1#pragma once
2#include <Device/Protocol/DeviceSettings.hpp>
3#include <Device/Protocol/ProtocolSettingsWidget.hpp>
4
5#include <ossia/protocols/midi/midi.hpp>
6
7#include <verdigris>
8
9namespace State
10{
11class AddressFragmentLineEdit;
12}
13namespace score
14{
15class ComboBox;
16}
17class QCheckBox;
18class QRadioButton;
19class QWidget;
20class QLineEdit;
21
22namespace Protocols
23{
25{
27
28public:
29 MIDIInputSettingsWidget(QWidget* parent = nullptr);
30
31private:
32 Device::DeviceSettings getSettings() const override;
33
34 void setSettings(const Device::DeviceSettings& settings) override;
35
37 QCheckBox* m_createWhole{};
38 QCheckBox* m_virtualPort{};
39 Device::DeviceSettings m_current;
40};
42{
44
45public:
46 MIDIOutputSettingsWidget(QWidget* parent = nullptr);
47
48private:
49 Device::DeviceSettings getSettings() const override;
50
51 void setSettings(const Device::DeviceSettings& settings) override;
52
54 QCheckBox* m_createWhole{};
55 QCheckBox* m_virtualPort{};
56 Device::DeviceSettings m_current;
57};
58}
Definition ProtocolSettingsWidget.hpp:22
Definition MIDIProtocolSettingsWidget.hpp:25
Definition MIDIProtocolSettingsWidget.hpp:42
Definition AddressFragmentLineEdit.hpp:9
Utilities for OSSIA data structures.
Definition DeviceInterface.hpp:33
Base toolkit upon which the software is built.
Definition Application.cpp:90
Definition DeviceSettings.hpp:20