31 static const constexpr int Type = ItemType::TemporalInterval;
32 int type()
const final override {
return Type; }
34 QRectF boundingRect()
const override;
37 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
40 void setExecutionDuration(
const TimeVal& progress);
42 void updateOverlayPos();
43 void setSelected(
bool selected);
46 void intervalHoverEnter() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, intervalHoverEnter)
47 void intervalHoverLeave() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, intervalHoverLeave)
50 void hoverEnterEvent(QGraphicsSceneHoverEvent* h)
override;
51 void hoverLeaveEvent(QGraphicsSceneHoverEvent* h)
override;
53 void updatePaths()
final override;
54 void updatePlayPaths()
final override;
55 void drawDashedPath(QPainter& p, QRectF visibleRect,
const Process::Style& skin);
56 void drawPlayDashedPath(QPainter& p, QRectF visibleRect,
const Process::Style& skin);