def createSlider(self, changedSignal, setterSlot):
    slider = QSlider(Qt.Horizontal)
    slider.setRange(0, (360 * 16))
    slider.setSingleStep(16)
    slider.setPageStep((15 * 16))
    slider.setTickInterval((15 * 16))
    slider.setTickPosition(QSlider.TicksRight)
    slider.valueChanged.connect(setterSlot)
    changedSignal.connect(slider.setValue)
    return slider
def createSlider(self, changedSignal, setterSlot):
    slider = QSlider(Qt.Horizontal)
    slider.setRange(0, (360 * 16))
    slider.setSingleStep(16)
    slider.setPageStep((15 * 16))
    slider.setTickInterval((15 * 16))
    slider.setTickPosition(QSlider.TicksRight)
    slider.valueChanged.connect(setterSlot)
    changedSignal.connect(slider.setValue)
    return slider