pySimBlocks.gui.dialogs.block_dialog¶
- class pySimBlocks.gui.dialogs.block_dialog.BlockDialog(block: BlockItem, readonly: bool = False)[source]¶
Bases:
QDialogEdit or inspect the parameters of a block instance.
- block¶
Block item being edited or inspected.
- meta¶
Block metadata describing the dialog content.
- instance¶
Block instance bound to the dialog.
- readonly¶
Whether the dialog is read-only.
- session¶
Metadata-defined dialog session object.
- build_meta_layout(layout: QVBoxLayout)[source]¶
Build the metadata-defined parameter form.
- Parameters:
layout – Parent layout receiving the form.
- build_buttons_layout(layout: QVBoxLayout)[source]¶
Build the dialog action buttons.
- Parameters:
layout – Parent layout receiving the button row.
- staticMetaObject = PySide6.QtCore.QMetaObject("BlockDialog" inherits "QDialog": )¶