Skip to content

Instantly share code, notes, and snippets.

@Nixellion
Nixellion / bro_windows.py
Last active Oct 17, 2020
Maya - Creating PySide windows in Maya 2014-2018+, with docking
View bro_windows.py
'''
------------------------------------------------------------------------------------------------------------------------
# Maya 2017 PySide2 Docking Qt QMainWindow by Michael Davydov | https://github.com/Nixellion/
## https://www.michaeldavydov.com | https://www.nixes.ru
------------------------------------------------------------------------------------------------------------------------
This module aims to have functions and classes that you can use to create your own Maya UI, with support of Maya with
PySide and PySide2 (2014-2018+). Primary focus on dockable windows.
Major changes have been made in Maya version 2017, when it moved from Qt4\PySide to Qt5\PySide2.
@Nixellion
Nixellion / bro_dockable_old.py
Last active Feb 17, 2018
Maya - Universal dockable window module and class (OLD)
View bro_dockable_old.py
'''
------------------------------------------------------------------------------------------------------------------------
# Maya 2017 PySide2 Docking Qt QMainWindow by Michael Davydov | https://github.com/Nixellion/
## https://www.michaeldavydov.com | https://www.nixes.ru
------------------------------------------------------------------------------------------------------------------------
The goal of this module is to be base module and class for Maya dockable UI windows, with support of Maya versions
before and after 2017, when Maya switched to PySide2, and workspaceControl instead of dockControl.
Code works but still WIP.
You can’t perform that action at this time.