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/threads/mandelbrot.py   pyqt5(Download)
    def resizeEvent(self, event):
        self.thread.render(self.centerX, self.centerY, self.curScale,
                self.size())
 
    def keyPressEvent(self, event):
    def zoom(self, zoomFactor):
        self.curScale *= zoomFactor
        self.update()
        self.thread.render(self.centerX, self.centerY, self.curScale,
                self.size())
        self.update()
        self.thread.render(self.centerX, self.centerY, self.curScale,
                self.size())
 
 

src/p/y/pyqt5-HEAD/examples/widgets/scribble.py   pyqt5(Download)
            return False
 
        newSize = loadedImage.size().expandedTo(self.size())
        self.resizeImage(loadedImage, newSize)
        self.image = loadedImage
    def saveImage(self, fileName, fileFormat):
        visibleImage = self.image
        self.resizeImage(visibleImage, self.size())
 
        if visibleImage.save(fileName, fileFormat):