MAYA: CREATING A DOCKABLE UI WITH PYSIDE2
We’re always fighting for screen real estate when we have multiple DCC packages and tools open on our
machine. Artists like to have the option to manipulate UI size and positioning on their display. As tool creators,
we are always trying to design user friendly interfaces.
Not only does Maya’s QT integration allows you to create UI’s that matches the style of the interface, but it also
provides support for docking UI’s seamlessly as it were a native Maya tool. I’d say that’s a +1 for user experience!
Maya provides a mixin class, MayaQWidgetDockableMixin, for creating interfaces that can be docked within
the main Maya window. Below is an example of creating your own UI that can be treated like a native Maya
tool. Below is an example of using the class in your PySide UI.