sas.qtgui.MainWindow package
Subpackages
- sas.qtgui.MainWindow.UI package
- Submodules
- sas.qtgui.MainWindow.UI.AboutUI module
- sas.qtgui.MainWindow.UI.AcknowledgementsUI module
- sas.qtgui.MainWindow.UI.CategoryManagerUI module
- sas.qtgui.MainWindow.UI.ChangeCategoryUI module
- sas.qtgui.MainWindow.UI.DataExplorerUI module
- sas.qtgui.MainWindow.UI.MainWindowUI module
- sas.qtgui.MainWindow.UI.TabbedFileLoadUI module
- sas.qtgui.MainWindow.UI.WelcomePanelUI module
- Module contents
Submodules
sas.qtgui.MainWindow.AboutBox module
sas.qtgui.MainWindow.CategoryManager module
sas.qtgui.MainWindow.DataExplorer module
sas.qtgui.MainWindow.DataManager module
This module manages all data loaded into the application. Data_manager makes available all data loaded for the current perspective.
All modules “creating Data” posts their data to data_manager . Data_manager make these new data available for all other perspectives.
-
class
sas.qtgui.MainWindow.DataManager.DataManager[source] Bases:
objectManage a list of data
-
add_data(data_list)[source] receive a list of data items for storage
-
assign(other)[source]
-
create_gui_data(data, path=None)[source] Receive data from loader and create a data to use for guiframe
-
delete_by_id(id_list=None)[source] save data and path
-
delete_by_name(name_list=None)[source] save data and path
-
delete_data(data_id, theory_id=None, delete_all=False)[source]
-
delete_theory(data_id, theory_id)[source]
-
freeze(theory_id)[source]
-
freeze_theory(data_id, theory_id)[source]
-
get_all_data()[source] return list of all available data
-
get_by_id(id_list=None)[source]
-
get_by_name(name_list=None)[source] return a list of data given a list of data names
-
get_data_state(data_id)[source] Send list of selected data
-
get_message()[source] return message
-
load_from_readable(fp)[source] load content from tp to stored_data (a .read()-supporting file-like object)
-
rename(name)[source] rename data
-
save_to_writable(fp)[source] save content of stored_data to fp (a .write()-supporting file-like object)
-
update_data(prev_data, new_data)[source]
-
update_stored_data(name_list=None)[source] update stored data after deleting files in Data Explorer
-
update_theory(theory, data_id=None, state=None)[source]
-
sas.qtgui.MainWindow.DataState module
-
class
sas.qtgui.MainWindow.DataState.DataState(data=None, parent=None)[source] Bases:
objectStore information about data
-
clone()[source]
-
get_data()[source]
-
get_message()[source] return message
-
get_name()[source]
-
get_path()[source] return the path of the loaded data
-
get_theory()[source]
-
set_data(data)[source]
-
set_name(name)[source]
-
set_path(path)[source] Set the path of the loaded data
-
set_theory(theory_data, theory_state=None)[source]
-