2 #include <Process/TimeValue.hpp>
4 #include <Scenario/Document/Interval/ExecutionState.hpp>
5 #include <Scenario/Document/Interval/IntervalView.hpp>
7 #include <score/graphics/TextItem.hpp>
8 #include <score/model/ColorReference.hpp>
9 #include <score/widgets/MimeData.hpp>
21 class TemporalIntervalPresenter;
22 class IntervalDurations;
31 QRectF boundingRect()
const override;
34 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
37 void setExecutionDuration(
const TimeVal& progress);
39 void updateOverlayPos();
40 void setSelected(
bool selected);
43 void intervalHoverEnter() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, intervalHoverEnter)
44 void intervalHoverLeave() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, intervalHoverLeave)
47 void hoverEnterEvent(QGraphicsSceneHoverEvent* h)
override;
48 void hoverLeaveEvent(QGraphicsSceneHoverEvent* h)
override;
50 void updatePaths()
final override;
51 void updatePlayPaths()
final override;
52 void drawDashedPath(QPainter& p, QRectF visibleRect,
const Process::Style& skin);
53 void drawPlayDashedPath(QPainter& p, QRectF visibleRect,
const Process::Style& skin);
Definition: IntervalView.hpp:34
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: ScenarioStyle.hpp:13
Definition: TimeValue.hpp:21