mpvQC.py 文件源码

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

项目:mpvQC 作者: Frechdachs 项目源码 文件源码
def __init__(self, parent=None):
        super(MpvWidget, self).__init__(parent)
        # Make the frame black, so that the video frame
        # is distinguishable from the rest when no
        # video is loaded yet
        self.setStyleSheet("background-color:black;")
        self.setMouseTracking(True)
        self.setContextMenuPolicy(Qt.CustomContextMenu)
        self.customContextMenuRequested.connect(self.contextMenu)
        self.cursortimer = QTimer(self)
        self.cursortimer.setSingleShot(True)
        self.cursortimer.timeout.connect(hideCursor)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号