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

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

src/p/y/pyqt5-HEAD/examples/widgets/spinboxes.py   pyqt5(Download)
        integerLabel = QLabel("Enter a value between %d and %d:" % (-20, 20))
        integerSpinBox = QSpinBox()
        integerSpinBox.setRange(-20, 20)
        integerSpinBox.setSingleStep(1)
        integerSpinBox.setValue(0)
 
        zoomLabel = QLabel("Enter a zoom value between %d and %d:" % (0, 1000))
        zoomSpinBox = QSpinBox()
        zoomSpinBox.setRange(0, 1000)
        priceLabel = QLabel("Enter a price between %d and %d:" % (0, 999))
        priceSpinBox = QSpinBox()
        priceSpinBox.setRange(0, 999)
        priceSpinBox.setSingleStep(1)
        priceSpinBox.setPrefix('$')
        precisionLabel = QLabel("Number of decimal places to show:")
        precisionSpinBox = QSpinBox()
        precisionSpinBox.setRange(0, 100)
        precisionSpinBox.setValue(2)
 

src/p/y/pyqt5-HEAD/examples/painting/painterpaths.py   pyqt5(Download)
 
        self.penWidthSpinBox = QSpinBox()
        self.penWidthSpinBox.setRange(0, 20)
 
        penWidthLabel = QLabel("&Pen Width:")
 
        self.rotationAngleSpinBox = QSpinBox()
        self.rotationAngleSpinBox.setRange(0, 359)
        self.rotationAngleSpinBox.setWrapping(True)
        self.rotationAngleSpinBox.setSuffix(u'\N{DEGREE SIGN}')

src/p/y/pyqt5-HEAD/examples/widgets/sliders.py   pyqt5(Download)
 
        self.minimumSpinBox = QSpinBox()
        self.minimumSpinBox.setRange(-100, 100)
        self.minimumSpinBox.setSingleStep(1)
 
        self.maximumSpinBox = QSpinBox()
        self.maximumSpinBox.setRange(-100, 100)
 
        self.valueSpinBox = QSpinBox()
        self.valueSpinBox.setRange(-100, 100)
        self.valueSpinBox.setSingleStep(1)
 

src/p/y/pyqt5-HEAD/examples/widgets/movie/movie.py   pyqt5(Download)
 
        self.speedSpinBox = QSpinBox()
        self.speedSpinBox.setRange(1, 9999)
        self.speedSpinBox.setValue(100)
        self.speedSpinBox.setSuffix("%")

src/p/y/pyqt5-HEAD/examples/desktop/systray/systray.py   pyqt5(Download)
 
        self.durationSpinBox = QSpinBox()
        self.durationSpinBox.setRange(5, 60)
        self.durationSpinBox.setSuffix(" s")
        self.durationSpinBox.setValue(15)

src/p/y/pyqt5-HEAD/examples/painting/basicdrawing/basicdrawing.py   pyqt5(Download)
 
        self.penWidthSpinBox = QSpinBox()
        self.penWidthSpinBox.setRange(0, 20)
        self.penWidthSpinBox.setSpecialValueText("0 (cosmetic pen)")
 

src/p/y/pyqt5-HEAD/examples/richtext/calendar.py   pyqt5(Download)
        self.fontSizeLabel = QLabel("Font size:")
        self.fontSizeSpinBox = QSpinBox()
        self.fontSizeSpinBox.setRange(1, 64)
        self.fontSizeSpinBox.setValue(10)