11#include <QGraphicsLineItem>
Model for DlgSettingsSegments and CmdSettingsSegments.
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
Create points along this curve.
void signalHover(bool)
Pass hover enter/leave events to Segment that owns this.
SegmentLine(QGraphicsScene &scene, const DocumentModelSegments &modelSegments, Segment *segment)
Single constructor.
void setHover(bool hover)
Apply/remove highlighting triggered by hover enter/leave.
Segment * segment() const
Segment that owns this line.
void updateModelSegment(const DocumentModelSegments &modelSegments)
Update this segment line with new settings.
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Highlight this and all other SegmentLines belonging to the same Segment upon hover enter.
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Unset highlighting triggered by hover enter.
Selectable piecewise-defined line that follows a filtered line in the image.