29 lines
509 B
C++
29 lines
509 B
C++
#pragma once
|
|
#include <score/plugins/settingsdelegate/SettingsDelegateView.hpp>
|
|
|
|
#include <Hardware/Settings/Model.hpp>
|
|
|
|
namespace score
|
|
{
|
|
class FormWidget;
|
|
}
|
|
namespace Hardware
|
|
{
|
|
namespace Settings
|
|
{
|
|
class View : public score::GlobalSettingsView
|
|
{
|
|
W_OBJECT(View)
|
|
public:
|
|
View();
|
|
void setDevice(const QString& device);
|
|
void deviceChanged(const QString& device) W_SIGNAL(deviceChanged, device);
|
|
|
|
private:
|
|
QWidget* getWidget() override;
|
|
score::FormWidget* m_widg{};
|
|
QComboBox* m_device{};
|
|
};
|
|
|
|
}
|
|
}
|