def __init__(self): FileFilter.__init__(self) self.ext = ["*.*"] # list of file extensions handled by this filter (list of str) self.desc = "Example files" # name of file type (str) self.can_save = True # if True, this filter can be used to save data self.can_read = True # if True, this filter can be used to load data self.multi_data = False # if True, this filter can save multiple datasets in one file
def __init__(self): FileFilter.__init__(self) self.ext = ["*.opj"] self.desc = "Origin project files" self.can_read = True self.can_save = False self.multi_data = True self.valueflags = {1:'B',2:'h',4:'i',8:'d'}
def __init__(self): FileFilter.__init__(self) self.ext = ["*.dat","*.csv","*.txt"] self.desc = "ASCII data files"
def __init__(self): FileFilter.__init__(self) self.ext = ["*.h5","*.dat"] self.desc = "HDF5 files" self.multi_data = True
def __init__(self): FileFilter.__init__(self) self.ext = ["*.xls"] self.desc = "Excel workbooks" self.can_read = True