Drawing lines in QPainter takes a lot of time

Printable View