ToDoList.py 文件源码

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

项目:CyclopsVFX-Unity 作者: geoffroygivry 项目源码 文件源码
def __init__(self, parent=None):
        super(PriorityWidget, self).__init__(parent)
        self.color = QtGui.QColor(247, 147, 30, 255)
        self.font = QtGui.QFont('Helvetica', 12, QtGui.QFont.Bold)
        self.setToolTip('<b>priority</b><br>use either:<ul><li>LMB to increase  -  RMB to decrease</li><li>alt+LMB drag to change value</li><li>MMB drag to change value</li></ul><i>move mouse away after changing value<br>to trigger re-sorting</i>')
        self.active = False
        self.mouseOver = False
        self.value = 0
        self.allowDrag = False
        self.setFocusPolicy(QtCore.Qt.TabFocus)
        self.indicator = DragIndicator(self)
        self.indicator.setVisible(False)
        self.indicator.move(0, 15)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号