DropPortInScenario.hpp
1 #pragma once
2 #include <Process/Drop/ProcessDropHandler.hpp>
3 
4 #include <Scenario/Application/Drops/AutomationDropHandler.hpp>
5 #include <Scenario/Application/Drops/ScenarioDropHandler.hpp>
6 namespace Dataflow
7 {
9 {
10  SCORE_CONCRETE("b71dd84e-e242-4451-bab5-970215c6b120")
11 
12 public:
14 
15 private:
16  bool canDrop(const QMimeData& mime) const noexcept override;
17  bool
18  drop(const Scenario::ScenarioPresenter&, QPointF pos, const QMimeData& mime) override;
19 };
20 
25 {
26  SCORE_CONCRETE("30147c87-2dfb-458d-9474-b0ee46897b51")
27 
28  bool drop(
29  const score::DocumentContext& ctx, const Scenario::IntervalModel&, QPointF p,
30  const QMimeData& mime) override;
31 };
32 
33 }
What happens when a port is dropped to an interval.
Definition: DropPortInScenario.hpp:25
Definition: DropPortInScenario.hpp:9
Definition: ScenarioDropHandler.hpp:58
Definition: ScenarioDropHandler.hpp:91
Definition: IntervalModel.hpp:50
Definition: ScenarioPresenter.hpp:29
Definition: DocumentContext.hpp:18