I'm currently looking to find or create a boilerplate for dockable PySide window for Maya, as the title says.
Until now I was using
MayaQDockWidget from MayaMixin. And it was working fine for my tool's windows until Maya 2017 came out. It still works fine, but it only docks on far-left and far-right of the screen, while there are a lot more dock options now.
So, then I came across this liorbenhorin/Simple_MayaDockingClass.py
And it works perfectly, I was able to create a base class and base module out of this, which I can use. It docks everywhere, next to the outliner, within any tab, etc, allowing for full customization.
But, there's one problem, now
self.setMenuBar(self.menubar_thing) command from PySide wont' work. There are no errors, menu bar just does not appear. As well as
I'm clearly missing something, and hope someone might help. I'm looking either for a solution for the menu bar and status bar problems with current setup (the one from GitHub), or an alternative boilerplate for Maya dockable pyside window, compatible with old and new Maya versions (well, at least starting with 2014).
So, the final goal here is to find and compile a base module and class for Dockable PySide windows in Maya, with support of menuBar and statusBar and backwards compatible with older versions of Maya (2014-2016). Backwards compatibility can, of course, be in a form of fallback to old docking methods.
Thanks for your time