I'm trying to style a QTableWidget using the latest Qt SDK (4.7.4). From Googling, I've seen that I need to do something like this:
QHeaderView::section {
background: red;
/* ... */
}
Inside of Qt Designer, this produces red headers for the columns and rows. However, inside of the actual program, the vertical section headers show up correctly but the horizontal column headers are unaffected. Why is this?