jdxi_editor.ui.widgets.delegates.play_button

Classes

PlayButtonDelegate

Delegate for Play button in table.

Module Contents

class jdxi_editor.ui.widgets.delegates.play_button.PlayButtonDelegate(parent=None, play_callback=None)[source]

Bases: PySide6.QtWidgets.QStyledItemDelegate

Delegate for Play button in table.

play_callback = None[source]
paint(painter, option, index)[source]

Draw a play button.

editorEvent(event, model, option, index)[source]

Handle button click.

sizeHint(option, index)[source]

Return button size.