Give background colour to QHeaderView?
-
I create a
QTreeWidgetItemand add it as the root-level item toTTreeWidget, which is a subclass ofQTreeWidget. To give it a background in a way that hinders the users ability to usesetStyleSheet()I can just useQTreeWidgetItem->setBackground().How can I give the widget a background that still allows the use of
setStyleSheet()? I've tried targetting the table header via qss in so many ways and nothing is sticking. -
Hi,
What about clearing the background when the user sets a non empty stylesheet ?
-