def qt_to_mui(self, qt_obj):
if hostMode != "maya":
return
ref = None
if qtMode in (0,2):
# ==== for pyside ====
ref = long(shiboken.getCppPointer(qt_obj)[0])
elif qtMode in (1,3):
# ==== for PyQt====
ref = long(sip.unwrapinstance(qt_obj))
if ref is not None:
return mui.MQtUtil.fullName(ref)
#------------------------------
# TreeWidget Process Functions
#------------------------------
universal_tool_template_1010.py 文件源码
python
阅读 25
收藏 0
点赞 0
评论 0
评论列表
文章目录