jdxi_editor.ui.editors.helpers.widgets
Helpers for editors
Functions
|
Block signals for the widget, set its value, then unblock signals. |
|
get icon pixmap for given name |
|
create jdxi button from spec |
|
Create a round JD-Xi styled button with optional tooltip. |
|
|
|
create small sequencer square |
|
Create a round JD-Xi styled button with optional tooltip. |
|
Create Row |
|
A round JD-Xi button with its icon and label beside it, as one widget. |
|
One faceplate holding several widgets or layouts, stacked. |
Module Contents
- jdxi_editor.ui.editors.helpers.widgets.set_widget_value_safely(widget: Any, value: int) None[source]
Block signals for the widget, set its value, then unblock signals.
- Parameters:
widget – The widget whose value is to be set.
value – The value to set on the widget.
- jdxi_editor.ui.editors.helpers.widgets.get_icon_pixmap(icon_name) PySide6.QtGui.QPixmap | None[source]
get icon pixmap for given name
- jdxi_editor.ui.editors.helpers.widgets.create_jdxi_button_with_label_from_spec(spec: picoui.specs.widgets.ButtonSpec, checkable: bool = True) tuple[jdxi_editor.ui.common.QWidget, PySide6.QtWidgets.QPushButton][source]
create jdxi button from spec
- jdxi_editor.ui.editors.helpers.widgets.create_jdxi_button_from_spec(spec: picoui.specs.widgets.ButtonSpec, button_group: PySide6.QtWidgets.QButtonGroup = None, checkable: bool = True) PySide6.QtWidgets.QPushButton[source]
Create a round JD-Xi styled button with optional tooltip.
- jdxi_editor.ui.editors.helpers.widgets.create_small_sequencer_square_for_channel(ch: int) PySide6.QtWidgets.QPushButton[source]
create small sequencer square
- jdxi_editor.ui.editors.helpers.widgets.create_jdxi_button(tooltip: str = '') PySide6.QtWidgets.QPushButton[source]
Create a round JD-Xi styled button with optional tooltip.
- jdxi_editor.ui.editors.helpers.widgets.create_jdxi_row(label: str = '', icon_pixmap: PySide6.QtGui.QPixmap | None = None) tuple[jdxi_editor.ui.common.QWidget, PySide6.QtWidgets.QLabel][source]
Create Row
- jdxi_editor.ui.editors.helpers.widgets.create_round_button_with_label(text: str, icon: str, slot: Any = None, tooltip: str = '', checkable: bool = False) tuple[jdxi_editor.ui.common.QWidget, PySide6.QtWidgets.QPushButton][source]
A round JD-Xi button with its icon and label beside it, as one widget.
Use in place of a plain text button so editor actions share the panel look (as Edit Tone Name, the transport, …).
- Returns:
(widget to add to a layout, the button)