BinDiffFilter.py 文件源码

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

项目:AutoDiff 作者: icewall 项目源码 文件源码
def data(self,index,role = QtCore.Qt.DisplayRole):
        try:
            if role == QtCore.Qt.BackgroundColorRole and index.isValid():
                for item in self.__colorRow.values():
                    if index.row() in item["indexes"]:
                        #return item["color"]
                        return QtGui.QBrush(QtCore.Qt.yellow)
        except:
            pass

        return super(QtGui.QSortFilterProxyModel,self).data(index,role)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号