You cannot move the label because of the layout of the dialog.

Try implementing a custom layout for the dialog and move the label in mouseMoveEvent.
The custom layout should be something simple (you could look at the Flow layout in the Qt demos ), something to allow you to drag you label around.