[PyQt] Can DockWidgets be docked onto anything else except MainWindows?

Phil Thompson phil at riverbankcomputing.com
Fri Feb 3 10:01:16 GMT 2012


On Fri, 3 Feb 2012 01:02:56 +0100, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> On Thursday 02 February 2012, 08:55:44 Andreas Pakulat wrote:
>> On 01.02.12 17:37:53, JPolk wrote:
>> > Can DockWidgets be docked onto anything else except MainWindows ?
>> >
>> > Supposed you have either a layout or a widget that's "mid-page" in
>> > a window and want to dock/undock from that layout/widget and not
>> > the MainWindow...
> 
> A really, really evil idea creepes up my mind: has somebody tried to 
> embed a QMainWindow into something else?!?

Yes - it's a widget like any other.

Phil


More information about the PyQt mailing list