// set position myDialog->setGeometry(...); // and show my dialog myDialog->show();
You can't use setGeometry() when using layouts -- it'll simply not work. If you want to manipulate sizes of laid out widgets, you have to use sizeHint, sizePolicies and minimumSize and maximumSize properties.