[quote author="mlong" date="1314403576"]I'm not sure what the behavior of a QDockWidget is if it's not used in conjunction with a QMainWindow.  According to the docs, a QDockWidget is designed to be docked in a QMainWindow, not just an arbitrary widget.  You can always create a QMainWidget, and set your AdvancedTextEditor as its central widget. Then the dock widget should behave properly.
[/quote]
Thanks for all the help, =).  Solved !!  =)..