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