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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/Mca2Edf.py   pymca(Download)
            filedialog.setMode(filedialog.ExistingFiles)
            filedialog.setDir(wdir)
            filedialog.setFilters("Mca Files (*.mca)\nSpec Files (*.dat)\nAll Files (*)\n")
            if filedialog.exec_loop() == qt.QDialog.Accepted:
                filelist0=filedialog.selectedFiles()
            filedialog.setWindowTitle("Open a set of files")
            filedialog.setDirectory(wdir)
            filedialog.setFilters(["Mca Files (*.mca)",
                                   "Spec Files (*.dat)",
                                   "All Files (*)"])

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaMain.py   pymca(Download)
            for filetype in fileTypeList:
                strlist.append(filetype.replace("(","").replace(")",""))
            fdialog.setFilters(strlist)
            fdialog.setFileMode(fdialog.ExistingFiles)
            fdialog.setDirectory(wdir)
            if os.path.exists(self.configDir):
                outfile.setDirectory(self.configDir)        
            outfile.setFilters(['PyMca  *.ini'])
            outfile.setFileMode(outfile.ExistingFile)
            ret = outfile.exec_()

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaFileDialogs.py   pymca(Download)
            if filetype != currentfilter:
                strlist.append(filetype)
        fdialog.setFilters(strlist)
        if mode == "OPEN":
            fdialog.setFileMode(fdialog.ExistingFiles)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QEdfFileWidget.py   pymca(Download)
        for f in fileTypeList:
            strlist.append(f)
        outfile.setFilters(strlist)
        outfile.setFileMode(outfile.AnyFile)
        outfile.setAcceptMode(outfile.AcceptSave)
                strlist.append("EDF Files *ccd")
                strlist.append("All Files *")
                fdialog.setFilters(strlist)
                fdialog.setFileMode(fdialog.ExistingFiles)
                ret = fdialog.exec_()
                if self.lastInputDir is not None:filedialog.setDir(self.lastInputDir)
                filedialog.setMode(filedialog.ExistingFiles)
                filedialog.setFilters("EdfFiles (*.edf)\nEdfFiles (*.mca)\nEdfFiles (*ccd)\nAll files (*)")           
                if filedialog.exec_loop() == qt.QDialog.Accepted:
                    filelist= filedialog.selectedFiles()

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/StackSelector.py   pymca(Download)
                for filetype in fileTypeList:
                    strlist.append(filetype)
                fdialog.setFilters(strlist)
                fdialog.setFileMode(fdialog.ExistingFiles)
                fdialog.setDirectory(wdir)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QSourceSelector.py   pymca(Download)
                    for filetype in self.fileTypeList:
                        strlist.append(filetype)
                    fdialog.setFilters(strlist)
                    fdialog.selectFilter(self.lastFileFilter)
                    fdialog.setFileMode(fdialog.ExistingFiles)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/McaWindow.py   pymca(Download)
            format_list.append('Graphics SVG *.svg')
 
        outfile.setFilters(format_list)
        outfile.selectFilter(self.outputFilter)
        outfile.setFileMode(outfile.AnyFile)
        if self.outputFilter is None:
            self.outputFilter = filterlist[0]
        outfile.setFilters(filterlist)
        outfile.selectFilter(self.outputFilter)
        outfile.setFileMode(outfile.AnyFile)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/ScanWindow.py   pymca(Download)
        if self.outputFilter is None:
            self.outputFilter = filterlist[0]
        outfile.setFilters(filterlist)
        outfile.selectFilter(self.outputFilter)
        outfile.setFileMode(outfile.AnyFile)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/McaAdvancedFit.py   pymca(Download)
                if not self.peaksSpectrumButton.isChecked():
                    filterlist += '\nB/WGraphics EPS *.eps\nB/WGraphics PNG *.png'
            outfile.setFilters(filterlist)
            outfile.setMode(outfile.AnyFile)
            outfile.setDir(self.lastInputDir)
            for f in format_list:
                strlist.append(f)
            outfile.setFilters(strlist)
 
            outfile.setFileMode(outfile.AnyFile)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/RGBCorrelatorWidget.py   pymca(Download)
        if self._saveFilter is None:
            self._saveFilter =formatlist[0]
        filedialog.setFilters(strlist)
        filedialog.selectFilter(self._saveFilter)
        filedialog.setDirectory(initdir)
        for f in formatlist:
                strlist.append(f)
        filedialog.setFilters(strlist)
        filedialog.setDirectory(initdir)
        ret = filedialog.exec_()

  1 | 2  Next