memcanvas.py 文件源码

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

项目:vivisect-py3 作者: bat-serjo 项目源码 文件源码
def getFormat(self, tag: ContentTagsEnum) -> QtGui.QTextCharFormat:
        if tag not in self._colors:
            return None
        fg, bg = self._colors[tag]
        f = QtGui.QTextCharFormat()
        f.setForeground(fg)
        f.setBackground(bg)
        f.setProperty(VivTextProperties.vivTag, tag)
        return f
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号