Embed Maya native UI objects in PySide for Maya 2017+
I have a new post on this new topic that maybe could help some of you.
It's updated for Maya 2017's PySide2 and shiboken2.
thanks for this, this will come in handy!
Does this work with arbitrary windows or layouts? or just with panels?
To embed any item from the Maya ui into any item of Qt.
Originally Posted by R.White
You just have to remember that layouts in qt are not children of widgets. But they are in Maya UI. So it can be a little tricky sometimes. In this case I have a layout and I add other stuff from Maya UI to it.
Thanks for sharing! I'll have to give this a whirl. I had done something similar but I too was getting errors and sometimes my layout would jump to a Maya's UI instead of my tool.