jdxi_editor.ui.editors.pattern.helper
Functions
|
reset the Sequencer button |
|
|
Build NoteButtonSpec from button NOTE/NOTE_DURATION/NOTE_VELOCITY. |
|
|
Return the effective NoteButtonSpec (from attribute or built from attrs). |
|
Update button.note_spec from NOTE, NOTE_DURATION, NOTE_VELOCITY. |
|
|
|
set spinbox value safely |
|
set sequencer style |
Module Contents
- jdxi_editor.ui.editors.pattern.helper.reset_button(button: jdxi_editor.ui.widgets.pattern.sequencer_button.SequencerButton)[source]
reset the Sequencer button
- jdxi_editor.ui.editors.pattern.helper.reset_measure(measure: jdxi_editor.ui.widgets.pattern.measure_widget.PatternMeasureWidget)[source]
- jdxi_editor.ui.editors.pattern.helper._note_spec_from_button(button) picomidi.ui.widget.button.note.NoteButtonEvent[source]
Build NoteButtonSpec from button NOTE/NOTE_DURATION/NOTE_VELOCITY.
- jdxi_editor.ui.editors.pattern.helper.get_button_note_spec(button) picomidi.ui.widget.button.note.NoteButtonEvent[source]
Return the effective NoteButtonSpec (from attribute or built from attrs).
- jdxi_editor.ui.editors.pattern.helper.sync_button_note_spec(button) None[source]
Update button.note_spec from NOTE, NOTE_DURATION, NOTE_VELOCITY.
- jdxi_editor.ui.editors.pattern.helper.update_button_state(button: PySide6.QtWidgets.QPushButton, checked_state: bool | None = None, enabled_state: bool | None = None)[source]
- jdxi_editor.ui.editors.pattern.helper.set_spinbox_value(spinbox: PySide6.QtWidgets.QSpinBox, value: int)[source]
set spinbox value safely
- jdxi_editor.ui.editors.pattern.helper.set_sequencer_style(btn: jdxi_editor.ui.widgets.pattern.sequencer_button.SequencerButton, is_current: bool = False, checked: bool = False)[source]
set sequencer style