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]
- _refresh_preset_list() None[source]
Refresh the preset combo box when SoundFont list setting changes.
- _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.