OSCQueryProtocolSettingsWidget.hpp
1 #pragma once
2 #include <Device/Protocol/DeviceSettings.hpp>
3 #include <Device/Protocol/ProtocolSettingsWidget.hpp>
4 
5 #include <QNetworkAccessManager>
6 
7 class QLineEdit;
8 class QSpinBox;
9 class QWidget;
10 
11 namespace Protocols
12 {
13 class RateWidget;
15 {
16 public:
17  OSCQueryProtocolSettingsWidget(QWidget* parent = nullptr);
18 
19  Device::DeviceSettings getSettings() const override;
20 
21  void setSettings(const Device::DeviceSettings& settings) override;
22 
23 protected:
24  QLineEdit* m_deviceNameEdit{};
25  QLineEdit* m_localHostEdit{};
26  QSpinBox* m_localPort{};
27  QCheckBox* m_dense{};
28 
29  RateWidget* m_rate{};
30 };
31 }
Definition: ProtocolSettingsWidget.hpp:22
Definition: OSCQueryProtocolSettingsWidget.hpp:15
Definition: RateWidget.hpp:15
Definition: DeviceSettings.hpp:20