Loading...
Searching...
No Matches
MinuitProtocolSettingsWidget.hpp
1#pragma once
2
3#include <Device/Protocol/DeviceSettings.hpp>
4#include <Device/Protocol/ProtocolSettingsWidget.hpp>
5
7class QLineEdit;
8class QSpinBox;
9class QWidget;
10
11namespace Protocols
12{
13class RateWidget;
15{
16public:
17 MinuitProtocolSettingsWidget(QWidget* parent = nullptr);
18
19 Device::DeviceSettings getSettings() const override;
20
21 void setSettings(const Device::DeviceSettings& settings) override;
22
23protected:
24 void setDefaults();
25
26protected:
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