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