score-addon-hardware/Hardware/Settings/View.hpp

30 lines
509 B
C++
Raw Permalink Normal View History

#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{};
};
}
}