Message 1 of 6

Not applicable
01-11-2019
12:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have trio of Pyside dialogs that inherit from MayaQWidgetDockableMixin
I've already found the if I parent the 2 sub windows to the main window using:
FooWin(parent=shiboken2.wrapInstance(long(OpenMayaUI.findControl(MainWinObjectName)), QtWidget.QWidget)))
They'll dock into the main window when using :
show(dockable=True, area='right', floating=False)
However they'll be docked next to eachother.
What I want is for the second window to be tabbed together with the third window to the right of the Main Window. (much like the Attribute Editor and ChannelBox do by default when opened)
Additionally I want the tab direction to be to the right instead of the top. (Like the channelbox default orientation)
If the text only description is insufficient I can take some time to make a minimal viable script to clear out the problems.
Solved! Go to Solution.