unidec.metaunidec.gui_elements package¶
Submodules¶
unidec.metaunidec.gui_elements.list_ctrls module¶
- class unidec.metaunidec.gui_elements.list_ctrls.ListCtrlPanel(*args: Any, **kwargs: Any)¶
Bases:
Panel- on_popup_eight(event)¶
- on_popup_eleven(event=None)¶
- on_popup_five(event)¶
- on_popup_four(event)¶
- on_popup_one(event)¶
- on_popup_seven(event=None)¶
Spawns a dialog for the first selected item to select the color. Redraws the list control with the new colors and then triggers an EVT_DELETE_SELECTION_2. :param event: Unused Event :return: None
- on_popup_six(event=None)¶
- on_popup_ten(event=None)¶
- on_popup_three(event)¶
- on_popup_two(event)¶
- on_right_click(event)¶
- class unidec.metaunidec.gui_elements.list_ctrls.YValueListCtrl(*args: Any, **kwargs: Any)¶
Bases:
ListCtrl,ListCtrlAutoWidthMixin,TextEditMixin- add_line(var1='count', var2=0)¶
- clear_list()¶
- get_colors()¶
- get_list()¶
- populate(dataset, colors=None)¶
- recolor()¶
- rename_column(num, text)¶
- reorder(list)¶
- repopulate()¶
unidec.metaunidec.gui_elements.ud_cont_meta module¶
- class unidec.metaunidec.gui_elements.ud_cont_meta.main_controls(*args: Any, **kwargs: Any)¶
Bases:
Panel- bind_changes(e=None)¶
- export_gui_to_config(e=None)¶
Exports parameters from the GUI to the config object. :return: None
- import_config_to_gui()¶
Imports parameters from the config object to the GUI. :return: None
- on_b_select(e)¶
- on_check_manual(e)¶
Checks the configuration to see if values for manual mode are set. If they are not, it opens the window to set the manual assignments. :param e: Dummy wx event passed on. :return: None
- on_collapse_all(e=None)¶
- on_expand_all(e=None)¶
- on_expand_blue(e=None)¶
- on_expand_main(e=None)¶
- on_expand_red(e=None)¶
- on_expand_yellow(e=None)¶
- on_m_smooth(e)¶
- on_mass_list(e)¶
Checks the configuration to see if values for the mass list are set. If they are not, it opens the window to set the mass list. :param e: Dummy wx event passed on. :return: None
- on_mousewheel(e)¶
- on_p_select(e)¶
- on_pw_check(e)¶
- on_spectra_color_change(e)¶
- on_z_smooth(e)¶
- setup_tool_tips()¶
Sets Tool Tips for items on the Main Panel :return: None
- update_quick_controls(e=None)¶
unidec.metaunidec.gui_elements.um_list_ctrl module¶
- class unidec.metaunidec.gui_elements.um_list_ctrl.DCDropTarget(*args: Any, **kwargs: Any)¶
Bases:
FileDropTarget- OnDropFiles(x, y, filenames)¶
When files are dropped, either open a single file or run in batch.
- class unidec.metaunidec.gui_elements.um_list_ctrl.ListCtrlPanel(*args: Any, **kwargs: Any)¶
Bases:
Panel- on_popup_eight(event)¶
- on_popup_five(event)¶
- on_popup_four(event)¶
- on_popup_one(event)¶
- on_popup_seven(event)¶
- on_popup_six(event)¶
- on_popup_three(event)¶
- on_popup_two(event)¶
- on_right_click(event)¶
- class unidec.metaunidec.gui_elements.um_list_ctrl.SelectMarker(*args: Any, **kwargs: Any)¶
Bases:
Dialog- initialize_interface(mdkeys)¶
- Returns:
None
- on_close(e)¶
Close the window. :param e: Event :return: None
- on_close_cancel(e)¶
Close the window. :param e: Event :return: None