7#ifndef CENTIPEDE_SEGMENT_CONSTANT_Y_LINE_H
8#define CENTIPEDE_SEGMENT_CONSTANT_Y_LINE_H
14class QGraphicsLineItem;
41 QGraphicsLineItem *m_graphicsItem;
QPointF posClickScreen() const
Center of circle in screen coordinates.
CentipedeSegmentAbstract(const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen)
Constructor with individual coordinates.
const DocumentModelGuideline & modelGuideline() const
Settings.
Transformation transformation() const
Transformation which is static through the entire lifetime of the Centipede class instances.
virtual void updateRadius(double radius)
Update geometry to reflect cursor movement.
virtual ~CentipedeSegmentConstantYLine()
virtual double distanceToClosestEndpoint(const QPointF &posScreen) const
Return distance to closest endpoint.
CentipedeSegmentConstantYLine(GraphicsScene &scene, const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen)
Constructor with individual coordinates.
void signalUpdateEndpoints(QPointF start, QPointF end)
Send new geometry for later updating.
Model for managing the coordinate values corresponding Guidelines.
Enable postponed geometry changes for QGraphicsLineItem, using a signal to trigger this class to upda...
Add point and line handling to generic QGraphicsScene.