5 Mr.Virgil

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 24w+

Pop Up Windows

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/21 14:08"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya

2020-06-21 16:21:27

Viewport Overlay

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/20 18:13"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya

2020-06-20 18:33:26

Timeline Overlay

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/20 15:17"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya

2020-06-20 17:10:35

DragAndDrop(3)

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/14 13:25"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya

2020-06-14 14:45:56

DragAndDrop(2)

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/13 14:38"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya

2020-06-13 15:30:49

DragAndDrop(1)

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/13 13:40"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya

2020-06-13 14:37:09

Native Maya Widgets(2)

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/7 13:18"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya.

2020-06-07 13:56:34

Native Maya Widgets(1)

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/7 13:18"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya.

2020-06-07 13:39:46

EventFilter installEventFilter

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/6 15:09"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya.

2020-06-06 15:49:27

Event

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/6 15:09"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya.

2020-06-06 15:31:29

MouseEvent

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/6 11:18"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya.

2020-06-06 15:06:20

KeypressEvent

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/6/6 11:18"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya.

2020-06-06 13:20:23

Dockable UI

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/5/30 14:57"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import getCppPointerimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport may

2020-05-30 18:15:36

Light Panel

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/5/27 19:01"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstancefrom functools import partialimport maya.OpenMayaUI as omuiimport

2020-05-28 17:43:48

Maya控件内嵌到PySide2(colorSliderGrp)

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/5/23 13:18"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstancefrom functools import partialimport maya.OpenMayaUI as omuiimport

2020-05-23 22:17:03

CustomColorButton

# -*- coding: utf-8 -*-"""Author: VirgilDate: 2020/5/23 10:06"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya

2020-05-23 11:11:43

打开文件位置(QProcess QDesktopServices)

# -*- coding: utf-8 -*-"""Author: AdministratorDate: 2020/5/19 21:44"""from PySide2 import QtCorefrom PySide2 import QtGuifrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimpo

2020-05-19 22:55:20

遍历文件目录

# -*- coding: utf-8 -*-"""Author: AdministratorDate: 2020/5/18 15:18"""from PySide2 import QtCorefrom PySide2 import QtWidgetsfrom shiboken2 import wrapInstanceimport maya.OpenMayaUI as omuiimport maya.cmds as cmdsimport maya.mel as meldef ma

2020-05-18 21:31:12

QImage QPixmap paintEvent

1、paintEvent,顺序有影响 def paintEvent(self, event): painter = QtGui.QPainter(self) painter.fillRect(0, 0, self.width(), self.height(), self.background_color) painter.drawPixmap(self.rect(), self.pixmap)2、及时刷新:self.update() def

2020-05-16 13:45:28

QFileDialog

1、QFileDialog.getOpenFileName()2、QMessageBox.StandardButton.Yes# -*- coding: utf-8 -*-"""Author: administratorDate: 2020/5/15 11:52"""from PySide2 import QtCorefrom PySide2 import QtWidgetsfrom PySide2 import QtGuifrom shiboken2 import wrapInsta

2020-05-15 15:46:00

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv2
    勤写标兵Lv2
    授予每个自然周发布4篇到6篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。