jdxi_editor.ui.windows.jdxi.helpers.button_row

Attributes

_TOOLTIP_MAP

Functions

create_button_row(text_or_spec[, slot, vertical, ...])

Create address row with label and circular button.

create_part_label(text[, heading]) → PySide6.QtWidgets.QLabel

Add label for part with color based on text

create_part_round_button(slot, tooltip) → PySide6.QtWidgets.QPushButton

Create round button per part

Module Contents

jdxi_editor.ui.windows.jdxi.helpers.button_row._TOOLTIP_MAP[source]
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

jdxi_editor.ui.windows.jdxi.helpers.button_row.create_part_round_button(slot: Callable[[...], Any] | Any, tooltip: str) → PySide6.QtWidgets.QPushButton[source]

Create round button per part