pySimBlocks.gui.widgets.toolbar_view¶
- class pySimBlocks.gui.widgets.toolbar_view.ToolBarView(saver: ProjectSaver, runner: SimulationRunner, project_controller: ProjectController)[source]¶
Bases:
QToolBarApplication toolbar providing save, run, plot, and add-on actions.
- saver¶
Service used to persist the project to disk.
- runner¶
Service used to launch a simulation.
- project_controller¶
Controller coordinating model and view mutations.
- sofa_service¶
Service managing SOFA-specific operations.
- sofa_action¶
Toolbar action for opening the SOFA dialog.
- set_running(running: bool) None[source]¶
Enable or disable all toolbar actions based on the running state.
- Parameters:
running – True to disable all actions, False to re-enable them.
- staticMetaObject = PySide6.QtCore.QMetaObject("ToolBarView" inherits "QToolBar": )¶