Lines Matching refs:slider
63 slider = QtWidgets.QSlider(QtCore.Qt.Vertical)
64 slider.setMinimum(0)
65 slider.setMaximum(2)
66 slider.setInvertedAppearance(True)
67 slider.valueChanged.connect(lambda:sliderMove(slider, gearDisplay))
68 shiftLayout.addWidget(slider)
69 sliderMove(slider, gearDisplay)
112 def sliderMove(slider, gearDisplay): argument
113 if slider.value() == 0:
116 elif slider.value() == 1:
119 elif slider.value() == 2:
124 print('slider %s requested %s = %s' % (slider.objectName(), slider.value(), gearName))