Changed delegate painting to tweak QStyleOptionViewItem