30 QRectF boundingRect()
const override;
31 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
35 void setSelected(
bool b);
36 void setExecuting(
bool b);
37 void setLabel(
const QString& label);
40 void doubleClicked() W_SIGNAL(doubleClicked);
42 void intervalHoverEnter() W_SIGNAL(intervalHoverEnter);
43 void intervalHoverLeave() W_SIGNAL(intervalHoverLeave);
44 void dropReceived(
const QPointF& pos,
const QMimeData& arg_2)
45 W_SIGNAL(dropReceived, pos, arg_2);
48 void hoverEnterEvent(QGraphicsSceneHoverEvent* h)
override;
49 void hoverLeaveEvent(QGraphicsSceneHoverEvent* h)
override;
50 void dragEnterEvent(QGraphicsSceneDragDropEvent* event)
override;
51 void dragLeaveEvent(QGraphicsSceneDragDropEvent* event)
override;
52 void dropEvent(QGraphicsSceneDragDropEvent* event)
override;
54 void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event)
override;
57 void updateShape()
noexcept;
58 void setState(IntervalHeader::State s)
override;
59 void on_textChanged()
override;
60 bool contains(
const QPointF& point)
const override;
61 QPainterPath shape()
const override;
65 QRectF m_textRectCache;