MiniScenarioView.hpp
1 #pragma once
2 #include <Process/LayerView.hpp>
3 #include <Process/TimeValue.hpp>
4 
5 #include <nano_observer.hpp>
6 
7 namespace Scenario
8 {
9 class ProcessModel;
10 class IntervalModel;
11 class MiniScenarioView final
12  : public QObject
13  , public Process::MiniLayer
14  , public Nano::Observer
15 {
16 public:
17  MiniScenarioView(const Scenario::ProcessModel& sc, QGraphicsItem* p);
18 
19 private:
20  void on_elementChanged(const IntervalModel&) { update(); }
21 
22  void paint_impl(QPainter*) const override;
23  const Scenario::ProcessModel& m_scenario;
24 };
25 }
Definition: LayerView.hpp:95
Definition: IntervalModel.hpp:50
Definition: MiniScenarioView.hpp:15
The core hierarchical and temporal process of score.
Definition: ScenarioModel.hpp:37
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14