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