Thanks for looking at this munna.
I discovered a step that I forgot to mention earlier. The crucial step is to change the "docked" property of the QDockWidget to be "true" before saving the form. Doing that is the way I know of to actually make the QDockWidget act like a dockable widget.
Bookmarks