The QProgressBar's position and size are almost certainly under the control of a QLayout within the dialog, and therefore cannot be moved or sized manually. If you don't like the default arrangement, then your only option is probably to implement your own progress dialog that is laid out according to your preferences.

You *might* be able to add space between the progress bar and the cancel button by retrieving the QLayout from the dialog, finding the index of the QProgressBar within the layout, and then adding a QSpacerItem after that index. But that's just a guess and seems like a distraction to getting work done on what your project is really about.