Hi all,
i'd like to ask one thing...
does anyone knows is there any possibility to check in QItemDelegate is draw item current one in tree/list/view/etc. or not.
The thing is that i have a tree that draws a button per cell(not itemWidget, but overriden paint event that redraws whole tree with stylepainter) but i'm doing lots of unnecessary updates(buttons looks differently when clicked, when mouse is over, when they are selected or when they are current).
Using QItemDelegates would increase performance heavily ( i'm painting whole visible tree area everytime because of some implementation difficulties in paint event) but i'm searching qt manuals whole day and i can't find a method to check in QItemDelegate:aint if painted item is current(current item have to be painted different than others).
Thanks.
Bookmarks