MidiProcessInspector.hpp
1 #pragma once
2 #include <Process/Inspector/ProcessInspectorWidgetDelegate.hpp>
3 #include <Process/Inspector/ProcessInspectorWidgetDelegateFactory.hpp>
4 
5 #include <Midi/MidiProcess.hpp>
6 class QComboBox;
7 class QSpinBox;
8 namespace Midi
9 {
10 class InspectorWidget final
11  : public Process::InspectorWidgetDelegate_T<Midi::ProcessModel>
12 {
13 public:
14  explicit InspectorWidget(
15  const ProcessModel& object, const score::DocumentContext& context,
16  QWidget* parent);
17 
18 private:
19  void on_deviceChange(const QString& dev);
20 
21  QComboBox* m_devices{};
22  QSpinBox* m_chan{};
23  QSpinBox* m_min{};
24  QSpinBox* m_max{};
25 };
26 class InspectorFactory final
27  : public Process::InspectorWidgetDelegateFactory_T<ProcessModel, InspectorWidget>
28 {
29  SCORE_CONCRETE("78f380ff-a405-47b6-9d3b-7022af996199")
30 };
31 }
Definition: MidiProcessInspector.hpp:28
Definition: MidiProcessInspector.hpp:12
Definition: MidiProcess.hpp:15
Definition: ProcessInspectorWidgetDelegate.hpp:13
Definition: ProcessInspectorWidgetDelegateFactory.hpp:53
Definition: DocumentContext.hpp:18