setGeometry() is the same as calling

resize();
move();