没有执行此任务的功能,但是我们可以创建它,例如:
def setColortoRow(table, rowIndex, color): for j in range(table.columnCount()): table.item(rowIndex, j).setBackground(color)

没有执行此任务的功能,但是我们可以创建它,例如:
def setColortoRow(table, rowIndex, color): for j in range(table.columnCount()): table.item(rowIndex, j).setBackground(color)