how to update drawing of qpainter on window resize

Printable View