pySimBlocks.gui.blocks.block_dialog_session¶
- class pySimBlocks.gui.blocks.block_dialog_session.BlockDialogSession(meta: BlockMeta, instance: BlockInstance, project_dir: Path | None = None, project_state: ProjectState | None = None)[source]¶
Bases:
objectStore transient dialog state while editing a block instance.
- meta¶
Block metadata driving the dialog.
- instance¶
Block instance being edited.
- project_dir¶
Project directory used to resolve relative files.
- project_state¶
Full project state, available when opening from the GUI.
- local_params¶
Local parameter cache for the open dialog.
- param_widgets¶
Widgets keyed by parameter name.
- param_labels¶
Labels keyed by parameter name.
- name_edit¶
Optional line edit used for the block name.