SOLVED it. have to set the view cursors with self.viewport().setCursor instead of self.setCursor() in the updateItems() method of MyView() class.