Re: How to Change QTreeView highlight color
I am not aware of a convenience method for that, but I am not that heavy user of model/view.
Generally speaking you should override the delegate paint() method, and insert the specific logic you want for : option.state & QStyle::State_Selected
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Watch these videos, and read his books they are must if you want to write clean code:
Recommended off-line reading Qt:
The Foundations of Qt Development (ISBN: 1-59059-831-8)