[Solved] Python/C++ - How to change the color of some text of tree widget items
I have this code in c++:
to change the color of some text of tree widget items, but I'm not sure how to convert Qt::red to python. Please help!!
Solved it myself :)
Here is the python code for anyone who needs it in the future:
@brush = QtGui.QBrush()
color = QtGui.QColor(R, G, B) # insert RGB values
hope it helps!!