I started to write a Panel Manager for a current app, and was playing with the options I wanted to expose, and came up with a fun little example that I thought I would share for enjoyment:
https://gist.github.com/justinfx/5241369 The default mode of this script acts like a normal dock widget configuration, where you have a couple widgets added to each dock area around the central content. Nesting and Tabbing is enabled. But I have made each of these dock widgets a QMainWindow. When you enabled the flag, each of these child main windows will have dock widgets added to them. You can then re-dock those within that private main window. It's fun if you haven't done anything with dock widgets before. I would like to try and figure out some custom event handling where I would detect the dock widget floating and dragging, and see if I can get it to re-parent to other child main windows, so you can dock them anywhere outside of their own private main window space. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
