18 #ifndef CONDUCTOR_SEGMENT_H 19 #define CONDUCTOR_SEGMENT_H 44 void moveX(
const qreal &);
45 void moveY(
const qreal &);
bool canMove1stPointY(const qreal &, qreal &) const
QPointF firstPoint() const
void setSecondPoint(const QPointF &)
virtual ~ConductorSegment()
ConductorSegment * previousSegment() const
void setFirstPoint(const QPointF &)
bool isHorizontal() const
bool hasPreviousSegment() const
bool hasNextSegment() const
void setPreviousSegment(ConductorSegment *)
bool canMove1stPointX(const qreal &, qreal &) const
ConductorSegmentType
Known kinds of conductor segments.
bool canMove2ndPointX(const qreal &, qreal &) const
bool canMove2ndPointY(const qreal &, qreal &) const
bool isFirstSegment() const
void setNextSegment(ConductorSegment *)
ConductorSegment * previous_segment
ConductorSegment(const QPointF &, const QPointF &, ConductorSegment *=nullptr, ConductorSegment *=nullptr)
void moveY(const qreal &)
ConductorSegment * nextSegment() const
void moveX(const qreal &)
ConductorSegment * next_segment
QET::ConductorSegmentType type() const
bool isLastSegment() const
QPointF secondPoint() const