Thanks for your reply!
Hmm...an intriguing prospect. We did not reimplement paintEvent, and when I tried it just now, I ended up with completely blank tree views.
I added the base QTreeView:: paintEvent call after the drawPrimitive call, and it was back to the default alt background row color (with the one blue cell containing the expand arrow) as if I had done nothing at all.
I moved the base call before the drawPrimitive call, and it was the same outcome as having it after.
I'm wondering what is significant about the fact that it worked in 4.6.3 but when upgraded to 4.7.0 this functionality suddenly stopped working...
Bookmarks