setTopLeft() call here will make QRect width and height changed, should use moveTo().
eg. when widgetOffset(-100, -100), geometry(x:0,y:0,w:100, h:100).
after setTopLeft(), geometry(x:-100,y:-100,w:200,h:200)
use moveTo, geometry(x:-100,y:-100,w:100,h:100)
fix issue#3022
setTopLeft() call here will make QRect width and height changed, should use moveTo(). eg. when widgetOffset(-100, -100), geometry(x:0,y:0,w:100, h:100). after setTopLeft(), geometry(x:-100,y:-100,w:200,h:200) use moveTo, geometry(x:-100,y:-100,w:100,h:100) fix issue#3022