I'm trying to style a QTableView with Qt Stylesheets. Everything works OK, except that all the table header texts (column headers) are drawn as bold text whenever data in the table view is selected.
I've tried things like this:
QTableView::section {
font-weight: 400;
}
QTableView::section:selected {
font-weight: 400;
}
QHeaderView {
font-weight: 400;
}
QHeaderView::section {
font-weight: 400;
}
to no avail.
Can anyone point me in the right direction, ideally using stylesheets?