jdxi_editor.ui.widgets.preset.combo_box
combo_box.py
This module defines a custom combo box widget for selecting presets in the JDXI editor. It provides a user-friendly interface for searching and selecting presets from a list, and emits a signal when a preset is loaded. The widget includes a search box, a category selector, and a load button. The presets are displayed in a combo box, allowing users to filter and select them easily. # selected_text.split(“:”)[0].strip()
Classes
A custom widget for selecting presets from a combo box. |
Module Contents
- class jdxi_editor.ui.widgets.preset.combo_box.PresetComboBox(presets, parent=None)[source]
Bases:
jdxi_editor.ui.common.QWidgetA custom widget for selecting presets from a combo box.
- _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).
- _filter_presets(search_text: str)[source]
Filter presets based on the search text.
- Parameters:
search_text – str
- Returns:
None