Hello! I need an advice
Is there a way to change the view of focus rect (dotted) around the active row? I have a descendant of QTreeView with the multiseleciton, custom drawRow() and reimplemented keyboard handling. I need to make a good visible current row (not the active item), but I cannot find how to do that right. Yes, I can change the font color/height via QStyleOptionViewItem in drawRow. And that's all. I cannot define the custom background, I cannot change the focus rect around the current row.
item:selected:active is not the solution because I have many items selected and the "current cursor position" is the current item (currentIndex()) that is not selected by default in my QTreeView subclass.
Bookmarks