2 #include <Scenario/Palette/ScenarioPaletteBaseTransitions.hpp>
3 #include <Scenario/Process/ScenarioInterface.hpp>
6 template <
typename Scenario_T>
14 void onTransition(QEvent* ev)
override
17 this->state().clear();
19 this->state().clickedTimeSync = qev->id;
20 this->state().currentPoint = qev->point;
23 template <
typename Scenario_T>
26 template <
typename Scenario_T>
34 bool eventTest(QEvent* e)
override
36 if(e->type() == QEvent::Type(QEvent::User + ClickOnTimeSync_Event::user_type))
39 return qev->id == Scenario::endId<TimeSyncModel>();
44 void onTransition(QEvent* ev)
override
47 this->state().clear();
49 this->state().clickedTimeSync = qev->id;
50 this->state().currentPoint = qev->point;
54 template <
typename Scenario_T>
62 void onTransition(QEvent* ev)
override
66 this->state().hoveredTimeSync = qev->id;
67 this->state().currentPoint = qev->point;
70 template <
typename Scenario_T>
73 template <
typename Scenario_T>
81 void onTransition(QEvent* ev)
override
85 this->state().hoveredTimeSync = qev->id;
86 this->state().currentPoint = qev->point;
89 template <
typename Scenario_T>
Definition: TimeSyncTransitions.hpp:29
Definition: ScenarioPaletteBaseTransitions.hpp:15
Definition: TimeSyncTransitions.hpp:9
Definition: TimeSyncTransitions.hpp:57
Definition: TimeSyncTransitions.hpp:76
Definition: ScenarioPaletteBaseTransitions.hpp:23
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: ScenarioPaletteBaseEvents.hpp:53