PyQt5最全50 表格之在单元格实现图文混排的效果
from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5 import QtCore
import sys
class CellImageText(QWidget):
"""
在单元格实现图文混排的效果
QTableWidgetItem(QIcon('0.png'), '背包')
"""
def __init__(self):
super(CellImageText, self).__init__(