Quote Originally Posted by dexjam
your approach seemed not to work ...
I've just checked the sources and QItemDelegate::paint() just ignores option.palette if the item is not selected, so it had no chance to work.