I want to custom the display of the QStyledItemDelegate item : when I press key_up and Key_down , it will draw a rectangle frame that will wrapping a whole row .
I think it should be implement in the QAbstractItemDelegate:: paint(……) function. But how to connect the key press event and the repaint operation ? I can't find the signla-slot style relationship between them.Who evokes the QAbstractItemDelegate:: paint(……) indeed ?
20180517181111833.png
Bookmarks