how to draw lines on image using QGraphicsView in Qt4

Printable View