GUI Utilities¶
B-ASIC GUI utilities.
This module contains GUI classes that have a general use and are not strictly related to either the Block Diagram GUI or Scheduler GUI.
gui_utils.decorators module¶
- b_asic.gui_utils.decorators.decorate_class(decorator)¶
- b_asic.gui_utils.decorators.handle_error(fn)¶
gui_utils.about_window module¶
- class b_asic.gui_utils.about_window.AboutWindow(window)¶
About window.
- b_asic.gui_utils.about_window.show_about_window()¶
Simply show the about window.
gui_utils.plot_window module¶
PlotWindow is a window in which simulation results are plotted.
- class b_asic.gui_utils.plot_window.PlotWindow(sim_result: Mapping[ResultKey, Sequence[int | float | complex]], sfg_name: str | None = None)¶
Dialog for plotting the result of a simulation.
- Parameters:
- sim_resultdict
Simulation results of the form obtained from
results
.- sfg_namestr, optional
The name of the SFG.
- parentoptional
The parent window.