HTTPProtocolSettingsWidget.hpp
1 #pragma once
2 
3 #include <Device/Protocol/DeviceSettings.hpp>
4 #include <Device/Protocol/ProtocolSettingsWidget.hpp>
5 class QLineEdit;
6 class QTextEdit;
7 class QSpinBox;
8 class QWidget;
9 
10 namespace Protocols
11 {
13 {
14 public:
15  HTTPProtocolSettingsWidget(QWidget* parent = nullptr);
16 
17  Device::DeviceSettings getSettings() const override;
18 
19  void setSettings(const Device::DeviceSettings& settings) override;
20 
21 protected:
22  void setDefaults();
23 
24 protected:
25  QLineEdit* m_deviceNameEdit{};
26  QTextEdit* m_codeEdit{};
27 };
28 }
Definition: ProtocolSettingsWidget.hpp:22
Definition: HTTPProtocolSettingsWidget.hpp:13
Definition: DeviceSettings.hpp:20