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