I've got this printer

and would like to print in real time the graphics drawed with qcustomplot (like an ECG graph).
I have already succeeded print a full graphic (using pqainter, pqrinter and render rect method) but now I want to print "line bye line" according to a specific preset speed.

Thx for your help.