jdxi_editor.ui.windows.jdxi.helpers.button_row
Attributes
Functions
|
Create address row with label and circular button. |
|
Add label for part with color based on text |
|
Create round button per part |
Module Contents
- jdxi_editor.ui.windows.jdxi.helpers.button_row.create_button_row(text_or_spec: str | picoui.specs.widgets.ButtonSpec, slot=None, vertical=False, spacing=10, heading=False)[source]
Create address row with label and circular button.
Accepts either (text, slot) for backward compatibility or a ButtonSpec. When a ButtonSpec is passed, slot is ignored; use spec.slot.
heading marks a row that names a section of the panel rather than one of the synth’s parts. Where a skin letters its headings on bars, such a row takes the second one: on the Juno the blue bar, which on the machine carries the part of the panel that is not the synth’s parameters.
- jdxi_editor.ui.windows.jdxi.helpers.button_row.create_part_label(text: str, heading: bool = False) → PySide6.QtWidgets.QLabel[source]
Add label for part with color based on text
- Parameters:
text – str the part’s name
heading – bool names a section of the panel rather than a part, and so takes the skin’s second bar where it has one
- Returns:
QLabel