Use QGraphicsPathItem to handle the 3 segments that make up a dimension