Quote Originally Posted by blaylockr View Post
I placed several dock widgets in a "main window" inside a "grid layout" . The problem is that the "grid layout" does not perfectly fill the "main window" and does not resize with the window. This works in the "demo" but they, of course, don't use the designer.
I have successfully re-create the DockWidget sample using Qt Designer to create all the user interface; including the dock. After the GUI complete I just add code to fill in the widget and add code for signal-slot.

One thing to remember is to set on the "dockable" property before arranging the widget in the "grid" layout. I got this right after some trial&error

PS: I also have to re-create the dock for "Cute Editor" sample from chapter 4 of Daniel Molkentin "The Book of Qt 4" doing the same method.