Hello, my QTreeView needs to have its tree leaves' colors changed based on some flag settings. How do I do this? I wish to iterate through the entire tree (already set up from a model), check the flags, and change the childless items red where the flag setting is true.

I guess I simply do not know how to access the QTreeWidgetItem so that I may change its properties. Is this possible? Am I stuck with the default colors with QTreeView?

John.