jdxi_editor.ui.preset.widget
Preset Widget to be used by All Editors
Classes
InstrumentPresetWidget |
Module Contents
- class jdxi_editor.ui.preset.widget.InstrumentPresetWidget(parent: jdxi_editor.ui.editors.synth.editor.SynthEditor)[source]
Bases:
jdxi_editor.ui.common.QWidgetInstrumentPresetWidget
- instrument_selection_combo: jdxi_editor.ui.widgets.combo_box.searchable_filterable.SearchableFilterableComboBox | None = None[source]
- tone_midi_info_bar: jdxi_editor.ui.widgets.midi.selection_info_bar.MidiSelectionInfoBar | None = None[source]
- cheat_midi_info_bar: jdxi_editor.ui.widgets.midi.selection_info_bar.MidiSelectionInfoBar | None = None[source]
- _refresh_preset_list() None[source]
Refresh the preset combo box when SoundFont list setting changes.
- add_image_group(group: PySide6.QtWidgets.QGroupBox)[source]
add the image beside the preset panel; the pair stays centred
- add_preset_group(group: PySide6.QtWidgets.QGroupBox)[source]
add groupbox for instruments (as tall as its contents)
- create_instrument_image_group() tuple[PySide6.QtWidgets.QGroupBox, Any, Any][source]
Image group — frameless overview panel (no heavy inset card).
- _add_round_action_button(icon_enum: Any, text: str, slot: Any, layout: PySide6.QtWidgets.QHBoxLayout, *, name: str | None = None, checkable: bool = False) PySide6.QtWidgets.QPushButton[source]
Create a round button with icon + text label (same style as Transport).
- _add_centered_round_button(icon_enum: Any, text: str, slot: Any, parent_layout: Any, name: str | None = None) PySide6.QtWidgets.QPushButton[source]
Add a round button + label row centered in a QHBoxLayout (stretch on both sides).
- create_instrument_preset_group(synth_type: str = 'Analog') PySide6.QtWidgets.QGroupBox[source]
Create the instrument preset group box with tabs for normal and cheat presets (Analog only).
- Parameters:
synth_type – str
- Returns:
QGroupBox
- _add_normal_preset_content(layout: Any, synth_type: str)[source]
Add normal preset selection content to the layout.
- _add_cheat_preset_content(layout: jdxi_editor.ui.common.QVBoxLayout)[source]
Add cheat preset content to the layout (Analog only).
- create_midi_combo_row(channels: list[str]) None[source]
create_midi_combo_row
- Parameters:
channels – list
- Returns:
None