PyQt6 TreeWidget not importing colors from ui fil
I am trying to set the individual colors of each line in a QtreeWidget, I have tried setting them manually as I fill the treeView with QBrush(col, QColor(R, G, B, a))
and without the alpha value. I have also tried filling out the treeView in PyQT6 Designer, and it looks fine in the designer, but when I export the .ui file and import it, the colors don’t show up (I have even checked the .ui XML data, and I can see the color property in the file), is this an issue with QtreeWidget, or am I doing something wrong?