Encapsulate operations managing files, directory trees etc.
More...
|
| | __init__ (self, ctl) |
| |
| | file_loader_tick (self) |
| | Pop off a filename, load it into the widget list, and update the progress bar.
|
| |
| | get_directory (self) |
| |
| | get_pathname (self, caption="Select file to load", filter_=None) |
| |
| | load_file (self, caption="Select file to load", filter_=None) |
| | not currently used
|
| |
| | save_dialog (self, filename=None, caption=None, dir_=None) |
| | Prompt user to navigate to a folder and enter a filename to save a single file.
|
| |
| | select_files_to_load (self, callback) |
| | display a file selection dialog, let the user select one or more files, then load them up
|
| |
|
| str | FILTER = "CSV (*.csv);;JSON (*.json);;SPC (*.spc);;ASC (*.asc)" |
| |
Encapsulate operations managing files, directory trees etc.
◆ __init__()
| enlighten.file_io.FileManager.FileManager.__init__ |
( |
| self, |
|
|
| ctl ) |
◆ file_loader_tick()
| enlighten.file_io.FileManager.FileManager.file_loader_tick |
( |
| self | ) |
|
Pop off a filename, load it into the widget list, and update the progress bar.
◆ get_directory()
| enlighten.file_io.FileManager.FileManager.get_directory |
( |
| self | ) |
|
◆ get_pathname()
| enlighten.file_io.FileManager.FileManager.get_pathname |
( |
| self, |
|
|
| caption = "Select file to load", |
|
|
| filter_ = None ) |
◆ load_file()
| enlighten.file_io.FileManager.FileManager.load_file |
( |
| self, |
|
|
| caption = "Select file to load", |
|
|
| filter_ = None ) |
◆ save_dialog()
| enlighten.file_io.FileManager.FileManager.save_dialog |
( |
| self, |
|
|
| filename = None, |
|
|
| caption = None, |
|
|
| dir_ = None ) |
Prompt user to navigate to a folder and enter a filename to save a single file.
◆ select_files_to_load()
| enlighten.file_io.FileManager.FileManager.select_files_to_load |
( |
| self, |
|
|
| callback ) |
display a file selection dialog, let the user select one or more files, then load them up
◆ ctl
| enlighten.file_io.FileManager.FileManager.ctl = ctl |
◆ file_loader_tick
| enlighten.file_io.FileManager.FileManager.file_loader_tick |
◆ file_loader_timer
| enlighten.file_io.FileManager.FileManager.file_loader_timer = QtCore.QTimer() |
◆ files_to_load
| enlighten.file_io.FileManager.FileManager.files_to_load = [] |
◆ FILTER
| str enlighten.file_io.FileManager.FileManager.FILTER = "CSV (*.csv);;JSON (*.json);;SPC (*.spc);;ASC (*.asc)" |
|
static |
◆ last_load_dir
◆ load_callback
| enlighten.file_io.FileManager.FileManager.load_callback = None |
◆ load_count
| enlighten.file_io.FileManager.FileManager.load_count = 0 |
◆ load_interval_ms
| enlighten.file_io.FileManager.FileManager.load_interval_ms = 10 |
The documentation for this class was generated from the following file: