I\'m trying to change the color of background of an QTableWidget. There is some others posts about the same things bot nothing of the given solution worked for me.
There is no function that performs this task, but we can create it, for example:
def setColortoRow(table, rowIndex, color): for j in range(table.columnCount()): table.item(rowIndex, j).setBackground(color)