How to style the background of a QTreeWidget?
Solved
General and Desktop
-
I'm trying to style a
QTreeWidget
which I added to my form through an application-wide stylesheet. From http://doc.qt.io/qt-5/stylesheet-reference.html I was expecting that I could either doQTreeView { background-color: red; } /* or */ QTreeWidget { background-color: red; }
None of them work however - how can I change the background color of this widget?