(self, event)
Store the hovered row index in the model, trigger viewport update
Store the hovered row index in the model, trigger viewport update
Store the hovered row index in the model trigger viewport update
def mouseMoveEvent(self, event):
        """Store the hovered row index in the model, trigger viewport update"""
        pos = event.pos()
        ind = self.indexAt(pos)
        self.model().set_mouse_row(ind.row())
        super().mouseMoveEvent(event)
        self.viewport().update()
def mouseMoveEvent ( self , event ) : pos = event . pos ( ) ind = self . indexAt ( pos ) self . model ( ) . set_mouse_row ( ind . row ( ) ) super ( ) . mouseMoveEvent ( event ) self . viewport ( ) . update ( )