Originally posted by QtDummy
Also, I'm not using exec() because I have a text edit running in the parent widget while displaying this progress dialog.
Use exec(). It blocks the stuff you want to block

The text edit will be fine, you just won't be able to type anything in by yourself (using the keyboard), but I guess that's fine, if you want to block the keyboard in your parent anyway.