Hello,
I have a class inherited from QAbstractItemView in which the mouseReleaseEvent() method have been overloaded so as to perform selection of items. The selection works well and the paintEvent() method is supposed to highlight them. It works well, ie the right items are selected, but I need to cover part of the widget and them show it again for paintEvent() to be executed. I tried almost everything I could think about as a solution, which leads now:
but paintEvent() is still not synchronously called.Qt Code:
this->update();To copy to clipboard, switch view to plain text mode
So how to cope with this issue?
Bookmarks