Is there a way to change the text color of a particular item in a QTreeView? Thx.
Is there a way to change the text color of a particular item in a QTreeView? Thx.
With a delegate.
You can create a custom user role "text color" for example, and then let the delegate set the font color.
Edit: did you try rich text? Maybe it's a simple as using richt text.
Bookmarks