def wheelEvent(self, ev): if ev.angleDelta().x() == 0: self.wheel_event.emit(ev) else: return PlainTextEdit.wheelEvent(self, ev)
def wheelEvent(self, ev): if ev.angleDelta().x() == 0: self.wheel_event.emit(ev) else: return PlainTextEdit.wheelEvent(self, ev)
def wheelEvent(self, ev): if ev.orientation() == Qt.Vertical: self.wheel_event.emit(ev) else: return PlainTextEdit.wheelEvent(self, ev)
def wheelEvent(self, ev): if ev.orientation() == Qt.Vertical: self.wheel_event.emit(ev) else: return PlainTextEdit.wheelEvent(self, ev)