16 typedef QList<QGraphicsItem *> SegmentContainer;
34 void add (QGraphicsItem *item);
37 void setPen (
const QPen &pen);
44 SegmentContainer m_segments;
GridLine()
Default constructor for storage in containers.
GridLine & operator=(GridLine &other)
Assignment constructor. This will assert if called since copying of pointer containers is problematic...
void setPen(const QPen &pen)
Set the pen style.
Single grid line drawn a straight or curved line.
void setVisible(bool visible)
Set each grid line as visible or hidden.
void add(QGraphicsItem *item)
Add graphics item which represents one segment of the line.