def qt_to_mui(self, qt_obj):
ref = None
if qtMode == 0:
# ==== for pyside ====
ref = long(shiboken.getCppPointer(qt_obj)[0])
elif qtMode == 1:
# ==== for PyQt====
ref = long(sip.unwrapinstance(qt_obj))
if ref is not None:
return mui.MQtUtil.fullName(ref)
#############################################
# window instance creation
#############################################
# If you want to be able to Keep only one copy of windows ui in Maya, use code below
universal_tool_template_v7.3.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录