|
Engauge Digitizer
2
|
This class is a special case of the standard QGraphicsLineItem for segments. More...
#include <SegmentLine.h>


Signals | |
| void | signalHover (bool) |
| Pass hover enter/leave events to Segment that owns this. More... | |
Public Member Functions | |
| SegmentLine (QGraphicsScene &scene, const DocumentModelSegments &modelSegments, Segment *segment) | |
| Single constructor. More... | |
| ~SegmentLine () | |
| virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
| Highlight this and all other SegmentLines belonging to the same Segment upon hover enter. More... | |
| virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
| Unset highlighting triggered by hover enter. More... | |
| virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
| Create points along this curve. More... | |
| Segment * | segment () const |
| Segment that owns this line. More... | |
| void | setHover (bool hover) |
| Apply/remove highlighting triggered by hover enter/leave. More... | |
| void | updateModelSegment (const DocumentModelSegments &modelSegments) |
| Update this segment line with new settings. More... | |
This class is a special case of the standard QGraphicsLineItem for segments.
Definition at line 17 of file SegmentLine.h.
| SegmentLine::SegmentLine | ( | QGraphicsScene & | scene, |
| const DocumentModelSegments & | modelSegments, | ||
| Segment * | segment | ||
| ) |
Single constructor.
Definition at line 17 of file SegmentLine.cpp.
| SegmentLine::~SegmentLine | ( | ) |
Definition at line 40 of file SegmentLine.cpp.
|
virtual |
Highlight this and all other SegmentLines belonging to the same Segment upon hover enter.
Definition at line 46 of file SegmentLine.cpp.
|
virtual |
Unset highlighting triggered by hover enter.
Definition at line 53 of file SegmentLine.cpp.
|
virtual |
Create points along this curve.
Definition at line 60 of file SegmentLine.cpp.
| Segment * SegmentLine::segment | ( | ) | const |
Segment that owns this line.
Definition at line 67 of file SegmentLine.cpp.
| void SegmentLine::setHover | ( | bool | hover | ) |
Apply/remove highlighting triggered by hover enter/leave.
Definition at line 72 of file SegmentLine.cpp.
|
signal |
Pass hover enter/leave events to Segment that owns this.
| void SegmentLine::updateModelSegment | ( | const DocumentModelSegments & | modelSegments | ) |
1.8.14