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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QEdfFileWidget.py   pymca(Download)
        filetype = filterused[0]
        extension = filterused[1]
        outstr = qt.safe_str(outfile.selectedFiles()[0])
        try:            
            outputFile = os.path.basename(outstr)
                ret = fdialog.exec_()
                if ret == qt.QDialog.Accepted:
                    filelist = fdialog.selectedFiles()
                    fdialog.close()
                    del fdialog                        
                filedialog.setFilters("EdfFiles (*.edf)\nEdfFiles (*.mca)\nEdfFiles (*ccd)\nAll files (*)")           
                if filedialog.exec_loop() == qt.QDialog.Accepted:
                    filelist= filedialog.selectedFiles()
                else:
                    return

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/Mca2Edf.py   pymca(Download)
            filedialog.setFilters("Mca Files (*.mca)\nSpec Files (*.dat)\nAll Files (*)\n")
            if filedialog.exec_loop() == qt.QDialog.Accepted:
                filelist0=filedialog.selectedFiles()
            else:
                self.raiseW()
            ret = filedialog.exec_()
            if  ret == qt.QDialog.Accepted:
                filelist0=filedialog.selectedFiles()
            else:
                self.raise_()
                outdir = qt.safe_str(outfile.selectedFile())
            else:
                outdir = qt.safe_str(outfile.selectedFiles()[0])
            outfile.close()
            del outfile

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaMain.py   pymca(Download)
            ret = fdialog.exec_()
            if ret == qt.QDialog.Accepted:
                filelist = fdialog.selectedFiles()
                if getfilter:
                    filterused = qt.safe_str(fdialog.selectedFilter())
            filterused = qt.safe_str(outfile.selectedFilter()).split()
            extension = ".ini"
            outdir=qt.safe_str(outfile.selectedFiles()[0])
            try:
                outputDir  = os.path.dirname(outdir)
            ret = outfile.exec_()
            if ret:
                filename = qt.safe_str(outfile.selectedFiles()[0])
                outfile.close()
                del outfile

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaBatch.py   pymca(Download)
                ret = filedialog.exec_()
            if  ret == qt.QDialog.Accepted:
                filelist=filedialog.selectedFiles()
            else:
                if QTVERSION < '4.0.0':
                outdir=qt.safe_str(outfile.selectedFile())
            else:
                outdir=qt.safe_str(outfile.selectedFiles()[0])
            outfile.close()
            del outfile

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaFileDialogs.py   pymca(Download)
        ret = outfile.exec_()
        if ret:
            outdir = qt.safe_str(outfile.selectedFiles()[0])
        else:
            outdir = ""
                return []
        else:
            filelist = fdialog.selectedFiles()
            if single:
                filelist = [filelist[0]]

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/StackSelector.py   pymca(Download)
                ret = fdialog.exec_()
                if ret == qt.QDialog.Accepted:
                    filelist = fdialog.selectedFiles()
                    if getfilter:
                        filterused = qt.safe_str(fdialog.selectedFilter())

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/McaAdvancedFit.py   pymca(Download)
            ret = outfile.exec_()
            if ret:
                self.outdir = qt.safe_str(outfile.selectedFiles()[0])
                outfile.close()
                del outfile
                outstr = qt.safe_str(outfile.selectedFile())
            else:
                outstr = qt.safe_str(outfile.selectedFiles()[0])
            try:
                outputDir  = os.path.dirname(outstr)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/McaWindow.py   pymca(Download)
            filetype  = filterused[1]
            extension = filterused[2]
            outdir=qt.safe_str(outfile.selectedFiles()[0])
            try:            
                self.outputDir  = os.path.dirname(outdir)
        filetype  = filterused[1]
        extension = filterused[2]
        outdir = qt.safe_str(outfile.selectedFiles()[0])
        try:            
            self.outputDir  = os.path.dirname(outdir)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QSourceSelector.py   pymca(Download)
                    ret = fdialog.exec_()
                    if ret == qt.QDialog.Accepted:
                        filelist = fdialog.selectedFiles()
                        self.lastFileFilter = qt.safe_str(\
                                                fdialog.selectedFilter())

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/ScanWindow.py   pymca(Download)
        filetype  = filterused[1]
        extension = filterused[2]
        outdir = qt.safe_str(outfile.selectedFiles()[0])
        try:            
            self.outputDir  = os.path.dirname(outdir)

  1 | 2  Next