Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/y/pyqt5-HEAD/examples/widgets/sliders.py   pyqt5(Download)
    def __init__(self, orientation, title, parent=None):
        super(SlidersGroup, self).__init__(title, parent)
 
        self.slider = QSlider(orientation)
        self.slider.setFocusPolicy(Qt.StrongFocus)

src/k/c/kcc-HEAD/kcc/KCC_ui_osx.py   kcc(Download)
        font.setFamily("Lucida Grande")
        self.GammaSlider.setFont(font)
        self.GammaSlider.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.GammaSlider.setMaximum(500)
        self.GammaSlider.setSingleStep(5)

src/k/c/kcc-HEAD/kcc/KCC_ui_linux.py   kcc(Download)
        font.setFamily("DejaVu Sans")
        self.GammaSlider.setFont(font)
        self.GammaSlider.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.GammaSlider.setMaximum(500)
        self.GammaSlider.setSingleStep(5)

src/k/c/kcc-HEAD/kcc/KCC_ui.py   kcc(Download)
        self.GammaSlider = QtWidgets.QSlider(self.OptionsAdvancedGamma)
        self.GammaSlider.setGeometry(QtCore.QRect(110, 10, 270, 22))
        self.GammaSlider.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.GammaSlider.setMaximum(500)
        self.GammaSlider.setSingleStep(5)