AudioInspector.hpp
1 #pragma once
2 
3 #include <Process/Inspector/ProcessInspectorWidgetDelegate.hpp>
4 
5 #include <Media/Sound/SoundModel.hpp>
6 
7 #include <score/command/Dispatchers/CommandDispatcher.hpp>
8 #include <score/widgets/SpinBoxes.hpp>
9 
10 #include <QComboBox>
11 #include <QLineEdit>
12 #include <QSpinBox>
13 
14 namespace Media
15 {
16 namespace Sound
17 {
18 class InspectorWidget final
19  : public Process::InspectorWidgetDelegate_T<Sound::ProcessModel>
20 {
21 public:
22  explicit InspectorWidget(
23  const ProcessModel& object, const score::DocumentContext& doc, QWidget* parent);
24 
25 private:
26  CommandDispatcher<> m_dispatcher;
27  QLineEdit m_edit;
28  QSpinBox m_start;
29  QSpinBox m_upmix;
30  QComboBox m_mode;
31 
32  score::SpinBox<double> m_tempo;
33 };
34 }
35 }
The CommandDispatcher class.
Definition: CommandDispatcher.hpp:13
Definition: AudioInspector.hpp:20
Definition: SoundModel.hpp:27
Definition: ProcessInspectorWidgetDelegate.hpp:13
Definition: SpinBoxes.hpp:75
Definition: DocumentContext.hpp:18