SegmentLine Class Reference

This class is a special case of the standard QGraphicsLineItem for segments. More...

#include <SegmentLine.h>

List of all members.

Signals

void signalHover (bool)
 Pass hover enter/leave events to Segment that owns this.

Public Member Functions

 SegmentLine (QGraphicsScene &scene, const DocumentModelSegments &modelSegments, Segment *segment)
 Single constructor.
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.
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
 Create points along this curve.
Segmentsegment () const
 Segment that owns this line.
void setHover (bool hover)
 Apply/remove highlighting triggered by hover enter/leave.
void updateModelSegment (const DocumentModelSegments &modelSegments)
 Update this segment line with new settings.

Detailed Description

This class is a special case of the standard QGraphicsLineItem for segments.

Definition at line 17 of file SegmentLine.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends

Generated on 4 Nov 2016 for Engauge Digitizer by  doxygen 1.6.1