Ok, thanks for your reply.
But actually I have no idea how to reimplement paint for my Delegate, oh yes I try use QStyledItemDelegate.
I want replace alternate row color in treeview with yellow and make a border-bottom for every row. I have make this with stylesheet and success. But with stylesheet I can't use QBackgroundRole in my model anymore.
Bookmarks