I would like to know how to change the background color of the (horizontal / vertical) headers of the QTableWidget object in Qt.
I already know how to change all headers together, using:
ui->tableWidget->setStyleSheet("QHeaderView::seção {background-color:red}");
But I need to individually change the items. Obviously, if that is possible.