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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaFileDialogs.py   pymca(Download)
        outfile.setModal(1)
        outfile.setDirectory(wdir)
        outfile.setFileMode(outfile.DirectoryOnly)
        ret = outfile.exec_()
        if ret:
        fdialog.setFilters(strlist)
        if mode == "OPEN":
            fdialog.setFileMode(fdialog.ExistingFiles)
        else:
            fdialog.setAcceptMode(fdialog.AcceptSave)
            fdialog.setFileMode(fdialog.AnyFile)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaMain.py   pymca(Download)
                strlist.append(filetype.replace("(","").replace(")",""))
            fdialog.setFilters(strlist)
            fdialog.setFileMode(fdialog.ExistingFiles)
            fdialog.setDirectory(wdir)
            if QTVERSION > '4.3.0':
    def _onSaveAs(self):
        cwd = os.getcwd()
        outfile = qt.QFileDialog(self)
        outfile.setFilter('PyMca  *.ini')
        outfile.setFileMode(outfile.AnyFile)
                outfile.setDirectory(self.configDir)        
            outfile.setFilters(['PyMca  *.ini'])
            outfile.setFileMode(outfile.ExistingFile)
            ret = outfile.exec_()
            if ret:

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaBatch.py   pymca(Download)
            filedialog.setDirectory(wdir)
            filedialog.setModal(1)
            filedialog.setFileMode(filedialog.ExistingFiles)
 
        filetypes  = "McaFiles (*.mca)\nEdfFiles (*.edf)\n"
            outfile.setModal(1)
            outfile.setDirectory(wdir)
            outfile.setFileMode(outfile.DirectoryOnly)
            ret = outfile.exec_()
        if ret:

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/Mca2Edf.py   pymca(Download)
                                   "All Files (*)"])
            filedialog.setModal(1)
            filedialog.setFileMode(filedialog.ExistingFiles)
            ret = filedialog.exec_()
            if  ret == qt.QDialog.Accepted:
            outfile.setModal(1)
            outfile.setDirectory(wdir)
            outfile.setFileMode(outfile.DirectoryOnly)
            ret = outfile.exec_()
        if ret:

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/McaWindow.py   pymca(Download)
        outfile.setFilters(format_list)
        outfile.selectFilter(self.outputFilter)
        outfile.setFileMode(outfile.AnyFile)
        outfile.setAcceptMode(outfile.AcceptSave)
        outfile.setDirectory(wdir)
        outfile.setFilters(filterlist)
        outfile.selectFilter(self.outputFilter)
        outfile.setFileMode(outfile.AnyFile)
        outfile.setAcceptMode(outfile.AcceptSave)
        outfile.setDirectory(wdir)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QEdfFileWidget.py   pymca(Download)
            strlist.append(f)
        outfile.setFilters(strlist)
        outfile.setFileMode(outfile.AnyFile)
        outfile.setAcceptMode(outfile.AcceptSave)
        outfile.setDirectory(self.lastInputDir)
                strlist.append("All Files *")
                fdialog.setFilters(strlist)
                fdialog.setFileMode(fdialog.ExistingFiles)
                ret = fdialog.exec_()
                if ret == qt.QDialog.Accepted:

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/StackSelector.py   pymca(Download)
                    strlist.append(filetype)
                fdialog.setFilters(strlist)
                fdialog.setFileMode(fdialog.ExistingFiles)
                fdialog.setDirectory(wdir)
                if QTVERSION > '4.3.0':

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QSourceSelector.py   pymca(Download)
                    fdialog.setFilters(strlist)
                    fdialog.selectFilter(self.lastFileFilter)
                    fdialog.setFileMode(fdialog.ExistingFiles)
                    fdialog.setDirectory(wdir)
                    ret = fdialog.exec_()

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/McaAdvancedFit.py   pymca(Download)
            outfile.setWindowTitle("Output Directory Selection")
            outfile.setModal(1)
            outfile.setFileMode(outfile.DirectoryOnly)
            outfile.setDirectory(cwd)
            ret = outfile.exec_()
            outfile.setFilters(strlist)
 
            outfile.setFileMode(outfile.AnyFile)
            outfile.setAcceptMode(qt.QFileDialog.AcceptSave)
            outfile.setDirectory(self.lastInputDir)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/ScanWindow.py   pymca(Download)
        outfile.setFilters(filterlist)
        outfile.selectFilter(self.outputFilter)
        outfile.setFileMode(outfile.AnyFile)
        outfile.setAcceptMode(outfile.AcceptSave)
        outfile.setDirectory(wdir)

  1 | 2  Next