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

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

src/p/y/pyqt5-HEAD/examples/widgets/calculator.py   pyqt5(Download)
    def digitClicked(self):
        clickedButton = self.sender()
        digitValue = int(clickedButton.text())
 
        if self.display.text() == '0' and digitValue == 0.0:
    def unaryOperatorClicked(self):
        clickedButton = self.sender()
        clickedOperator = clickedButton.text()
        operand = float(self.display.text())
 
    def additiveOperatorClicked(self):
        clickedButton = self.sender()
        clickedOperator = clickedButton.text()
        operand = float(self.display.text())
 
    def multiplicativeOperatorClicked(self):
        clickedButton = self.sender()
        clickedOperator = clickedButton.text()
        operand = float(self.display.text())
 

src/p/y/pyqt5-HEAD/examples/opengl/textures/textures.py   pyqt5(Download)
    def setCurrentGlWidget(self):
        self.currentGlWidget = self.sender()
 
    def rotateOneStep(self):
        if self.currentGlWidget: