79 void createAcceptablePoint(
bool *
pFirst,
107 bool isCorner (
double yLast,
119 QGraphicsScene &m_scene;
const int INNER_RADIUS_MIN
Model for DlgSettingsSegments and CmdSettingsSegments.
This class is a special case of the standard QGraphicsLineItem for segments.
Selectable piecewise-defined line that follows a filtered line in the image.
void signalMouseClickOnSegment(QPointF posSegmentStart)
Pass mouse press event, with coordinates of first point in the Segment since that info uniquely ident...
double length() const
Get method for length in pixels.
int lineCount() const
Get method for number of lines.
QList< QPoint > fillPoints(const DocumentModelSegments &modelSegments)
Create evenly spaced points along the segment.
void forwardMousePress()
Forward mouse press event from a component SegmentLine that was just clicked on.
void slotHover(bool hover)
Slot for hover enter/leave events in the associated SegmentLines.
void updateModelSegment(const DocumentModelSegments &modelSegments)
Update this segment given the new settings.
void appendColumn(int x, int y, const DocumentModelSegments &modelSegments)
Add some more pixels in a new column to an active segment.
QPointF firstPoint() const
Coordinates of first point in Segment.
void removeUnneededLines(int *foldedLines)
Try to compress a segment that was just completed, by folding together line from point i to point i+1...