universal_tool_template_0903.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:universal_tool_template.py 作者: shiningdesign 项目源码 文件源码
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)

#############################################
# User Class creation
#############################################

# --------------------
#  user module list
# --------------------
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号