10 #include "DocumentModelSegments.h" 11 #include <QGraphicsLineItem> 57 #endif // SEGMENT_LINE_H void signalHover(bool)
Pass hover enter/leave events to Segment that owns this.
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...
Segment * segment() const
Segment that owns this line.
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
Create points along this curve.
Selectable piecewise-defined line that follows a filtered line in the image.
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Unset highlighting triggered by hover enter.
Model for DlgSettingsSegments and CmdSettingsSegments.
This class is a special case of the standard QGraphicsLineItem for segments.
void setHover(bool hover)
Apply/remove highlighting triggered by hover enter/leave.