def METHOD_NAME(self, event):
    event.accept()
    style = QtGui.QApplication.style()
    button = event.button()
    # In a normal slider control, when the user clicks on a point in the
    # slider's total range, but not on the slider part of the control the
    # control would jump the slider value to where the user clicked.
    # For this control, clicks which are not direct hits will slide both
    # slider parts
    if button:
        opt = QtGui.QStyleOptionSlider()
        self.initStyleOption(opt)
        self.active_slider = -1
        for i, value in enumerate([self._low, self._high]):
            opt.sliderPosition = value
            hit = style.hitTestComplexControl(
                style.CC_Slider, opt, event.pos(), self
            )
            if hit == style.SC_SliderHandle:
                self.active_slider = i
                self.pressed_control = hit
                self.triggerAction(self.SliderMove)
                self.setRepeatAction(self.SliderNoAction)
                self.setSliderDown(True)
                break
        if self.active_slider < 0:
            self.pressed_control = QtGui.QStyle.SC_SliderHandle
            self.click_offset = self.__pixelPosToRangeValue(
                self.__pick(event.pos())
            )
            self.triggerAction(self.SliderMove)
            self.setRepeatAction(self.SliderNoAction)
    else:
        event.ignore()