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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QEdfFileWidget.py   pymca(Download)
            pixmap = qt.QPixmap.fromImage(self.graph.plotImage.image)
        else:
            pixmap = qt.QPixmap.grabWidget(self.graph.canvas())
        if pixmap.save(filename, fformat):
            return
    def saveGraphWidget(self, filename):
        fformat = filename[-3:].upper()
        pixmap = qt.QPixmap.grabWidget(self.graph)
        if pixmap.save(filename, fformat):
            return
    def printGraph(self):
        pixmap = qt.QPixmap.grabWidget(self.graph)
        self.printPreview.addPixmap(pixmap)
        if self.printPreview.isHidden():
            self.printPreview.show()

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/ScanWindow.py   pymca(Download)
            if filterused[0].upper() == "WIDGET":
                fformat = filename[-3:].upper()
                pixmap = qt.QPixmap.grabWidget(self)
                if not pixmap.save(filename, fformat):
                    qt.QMessageBox.critical(self,
        else:
            svg = False
            pixmap = qt.QPixmap.grabWidget(self.centralWidget())
 
        title = None

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/McaWindow.py   pymca(Download)
        if filterused[0].upper() == "WIDGET":
            fformat = specFile[-3:].upper()
            pixmap = qt.QPixmap.grabWidget(self.getWidgetHandle())
            if not pixmap.save(specFile, fformat):
                qt.QMessageBox.critical(self,
            if filterused[0].upper() == "WIDGET":
                fformat = filename[-3:].upper()
                pixmap = qt.QPixmap.grabWidget(self)
                if not pixmap.save(filename, fformat):
                    qt.QMessageBox.critical(self,

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/McaAdvancedFit.py   pymca(Download)
    def printGraph(self):
        pixmap = qt.QPixmap.grabWidget(self.getWidgetHandle())
        self.printPreview.addPixmap(pixmap)
        if self.printPreview.isHidden():
            self.printPreview.show()

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/QPyMcaMatplotlibSave.py   pymca(Download)
    def printClicked(self):
        try:
            pixmap = qt.QPixmap.grabWidget(self.imageWidget)
            self.printPreview.addPixmap(pixmap)
            if self.printPreview.isHidden():