def wheelEvent(self, ev): if ev.orientation() == Qt.Vertical: self.wheel_event.emit(ev) else: return QSplitterHandle.wheelEvent(self, ev)