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.
Bookmarks