Re: QModelIndex and check if a row sibling has focus
Originally Posted by Lykurg
This has the effect, that if the table has the focus my current line is blue in the the front and gray at the end, but I want it blue from the beginning to the end.
Do you mean you want to have the entire row painted with a blue background?
I would probably write a subclassed delegate that takes a pointer to the view (or the selection model) it is set on to avoid the cast.
Last edited by tbscope; 26th August 2010 at 05:47.
Bookmarks