waveform_editor.gui.main.WaveformEditorGui¶
- class waveform_editor.gui.main.WaveformEditorGui¶
Bases:
Parameterized- __init__()¶
Initialize the Waveform Editor Panel App
Methods
__init__()Initialize the Waveform Editor Panel App
load_yaml(yaml_content)Load waveform configuration from YAML string.
load_yaml_from_file(path)Load waveform configuration from a YAML file.
Respond to a changed waveform selection
on_tab_change(event)Respond to a tab change
Revert to the editor without changing its contents
serve()Serve the Panel app
Reflect updated selection in other components
Attributes
DISCARD_CHANGES_MESSAGEEDIT_WAVEFORMS_TABVIEW_WAVEFORMS_TABnameparam- load_yaml(yaml_content)¶
Load waveform configuration from YAML string.
- Parameters:
- yaml_content¶
YAML string to load.
- load_yaml_from_file(path)¶
Load waveform configuration from a YAML file.
- Parameters:
- path¶
Path object pointing to the YAML file.
- on_selection_change(_)¶
Respond to a changed waveform selection
- on_tab_change(event)¶
Respond to a tab change
- revert_to_editor()¶
Revert to the editor without changing its contents
- serve()¶
Serve the Panel app
- update_selection()¶
Reflect updated selection in other components