Qt window resize without infinite loop

Printable View