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

Chris Kaynor ckaynor at zindagigames.com
Fri Feb 3 00:18:21 GMT 2012

On Thu, Feb 2, 2012 at 4:02 PM, Hans-Peter Jansen <hpj at urpla.net> wrote:

> A really, really evil idea creepes up my mind: has somebody tried to
> embed a QMainWindow into something else?!?

This does, in fact, work. We do it here at work - embedding a QMainWindow
as a tab in a QTabWidget. In our case, the MainWindow is sometimes
kept separate, so it needs a menu and status bar, but others a tab view is
easier to use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120202/d987680d/attachment.html>

More information about the PyQt mailing list