unidec.metaunidec.gui_elements package¶
Submodules¶
unidec.metaunidec.gui_elements.list_ctrls module¶
- class unidec.metaunidec.gui_elements.list_ctrls.ListCtrlPanel(parent, pres, size=(200, 400))¶
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(parent, id_value, config=None, pos=wx.Point(-1, -1), size=wx.Size(-1, -1), style=0)¶
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(parent, config, pres, panel, iconfile)¶
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(window)¶
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(parent, pres=None, markers=None, list_type='X', size=(200, 300))¶
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, **kwargs)¶
Bases:
Dialog
- initialize_interface(mdkeys)¶
- Returns:
None
- on_close(e)¶
Close the window. :param e: Event :return: None
- class unidec.metaunidec.gui_elements.um_list_ctrl.XValueListCtrl(parent, id_value, pos=wx.Point(-1, -1), size=wx.Size(-1, -1), style=0)¶
Bases:
ListCtrl
,ListCtrlAutoWidthMixin
,TextEditMixin
- add_line(val=0, marker='○')¶
- clear_list()¶
- get_list()¶
- populate(listctrldata, colors=None)¶
- class unidec.metaunidec.gui_elements.um_list_ctrl.YValueListCtrl(parent, id_value, pos=wx.Point(-1, -1), size=wx.Size(-1, -1), style=0)¶
Bases:
ListCtrl
,ListCtrlAutoWidthMixin
,TextEditMixin
- add_line(file_name='file.txt', var1=None, var2='-')¶
- clear_list()¶
- get_list()¶
- populate(listctrldata, colors=None)¶