pySimBlocks.gui.dialogs.settings.plots¶
- class pySimBlocks.gui.dialogs.settings.plots.PlotSettingsWidget(project_state: ProjectState, project_controller: ProjectController)[source]¶
Bases:
QWidgetEdit the set of named plots stored in the project.
- project_state¶
Project state edited by the widget.
- project_controller¶
Controller applying plot changes.
- edit_index¶
Index of the plot currently being edited, or None.
- populate_signal_list(checked=None)[source]¶
Populate the signal checklist.
- Parameters:
checked – Optional iterable of signal names to preselect.
- collect_selected_signals() list[str][source]¶
Return the currently selected signal names.
- Returns:
Selected signal names from the checklist.
- load_plot(index)[source]¶
Load the selected plot into the editor.
- Parameters:
index – Index of the plot selected in the list.
- staticMetaObject = PySide6.QtCore.QMetaObject("PlotSettingsWidget" inherits "QWidget": )¶