code: def mousePressEvent(self, event):
          
          if self.slider and event.button() == Qt.LeftButton:
              vsb = self.editor.verticalScrollBar()
              value = self.position_to_value(event.pos().y())
              vsb.setValue(value-vsb.pageStep()/2)
docs: Override Qt method