2 #include <Scenario/Document/Interval/Slot.hpp>
3 #include <Scenario/Palette/ScenarioPoint.hpp>
5 #include <score/model/path/Path.hpp>
6 #include <score/statemachine/StateMachineUtils.hpp>
18 template <
typename Scenario_T>
22 StateBase(
const Scenario_T& scenar, QState* parent)
24 , m_scenario{
const_cast<Scenario_T&
>(scenar)}
30 clickedEvent = std::nullopt;
31 clickedTimeSync = std::nullopt;
32 clickedInterval = std::nullopt;
33 clickedState = std::nullopt;
35 hoveredEvent = std::nullopt;
36 hoveredTimeSync = std::nullopt;
37 hoveredInterval = std::nullopt;
38 hoveredState = std::nullopt;
43 OptionalId<StateModel> clickedState;
44 OptionalId<EventModel> clickedEvent;
45 OptionalId<TimeSyncModel> clickedTimeSync;
46 OptionalId<IntervalModel> clickedInterval;
48 OptionalId<StateModel> hoveredState;
49 OptionalId<EventModel> hoveredEvent;
50 OptionalId<TimeSyncModel> hoveredTimeSync;
51 OptionalId<IntervalModel> hoveredInterval;
56 Scenario_T& m_scenario;
59 class SCORE_PLUGIN_SCENARIO_EXPORT
SlotState :
public QState
70 QPointF m_originalPoint;
71 double m_originalHeight{};
Definition: ScenarioPaletteBaseStates.hpp:60
Definition: ScenarioPaletteBaseStates.hpp:20
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: ScenarioPoint.hpp:13