button

Submodules

Classes

ChannelButton

Channel indicator button with synth-specific styling

SequencerSquare

Square button for sequencer/favorites with illuminated state

Package Contents

class button.ChannelButton(parent: PySide6.QtWidgets.QWidget = None)[source]

Bases: PySide6.QtWidgets.QPushButton

Channel indicator button with synth-specific styling

CHANNEL_STYLES
current_channel = 0
set_channel(channel: int) None[source]

Set channel and update appearance

Parameters:

channel – int

_update_style() None[source]

Update button appearance based on channel

Returns:

None

class button.SequencerSquare(slot_num, midi_helper: jdxi_editor.midi.io.helper.MidiIOHelper | None, parent=None)[source]

Bases: PySide6.QtWidgets.QPushButton

Square button for sequencer/favorites with illuminated state

preset_loader = None
midi_helper
settings
slot_number
preset = None
last_preset = None
illuminated = False
_handle_toggle(checked)[source]

Handle button toggle

_handle_click(checked)[source]

Handle button toggle

paintEvent(event)[source]

Custom paint for illuminated appearance

save_preset_as_favourite(synth_type: str, preset_num: int, preset_name: str, channel: int)[source]

Save current preset to this favorite slot

clear_preset()[source]

Clear the saved preset

load_preset(preset_data)[source]

Load preset data into synth