2 #include <Scenario/Document/Interval/IntervalPresenter.hpp>
4 #include <score_plugin_scenario_export.h>
12 class GraphicsShapeItem;
18 class DefaultHeaderDelegate;
19 class TemporalIntervalHeader;
20 class TemporalIntervalView;
22 class NodalIntervalView;
30 const auto& id()
const
32 return IntervalPresenter::id();
37 bool handles, QGraphicsItem* parentobject, QObject* parent);
41 void updateScaling()
override;
44 void on_zoomRatioChanged(ZoomRatio val)
override;
46 void changeRackState();
47 void selectedSlot(
int)
const override;
51 void requestSlotMenu(
int slot, QPoint pos, QPointF sp)
const override;
52 void requestProcessSelectorMenu(
int slot, QPoint pos, QPointF sp)
const;
55 void intervalHoverEnter() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, intervalHoverEnter)
56 void intervalHoverLeave() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, intervalHoverLeave)
59 double rackHeight()
const;
60 double collapsedRackHeight()
const;
62 void createSlot(
int pos,
const Slot& slt);
63 void createCollapsedSlot(
int pos,
const Slot& aSlt);
67 void updateProcessShape(
int slot,
const LayerData& data);
69 void on_slotRemoved(
int pos);
70 void updateProcessesShape();
71 void updatePositions();
74 void on_rackChanged();
76 void on_requestOverlayMenu(QPointF);
77 void on_rackVisibleChanged(
bool);
78 void on_defaultDurationChanged(
const TimeVal&);
80 void on_doubleClick();
82 void startSlotDrag(
int slot, QPointF)
const override;
83 void stopSlotDrag()
const override;
87 void createNodalSlot();
The Process class.
Definition: score-lib-process/Process/Process.hpp:61
Definition: IntervalModel.hpp:50
Definition: IntervalPresenter.hpp:30
Definition: LayerData.hpp:55
Definition: TemporalIntervalPresenter.hpp:25
Definition: TemporalIntervalView.hpp:24
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: ProcessContext.hpp:12
Definition: SlotPresenter.hpp:15
Definition: SlotPresenter.hpp:43
Definition: TimeValue.hpp:21