jdxi_editor.ui.widgets.pattern.step_guide ========================================= .. py:module:: jdxi_editor.ui.widgets.pattern.step_guide .. autoapi-nested-parse:: Step Guide The grey step-length lines printed above the JD-Xi's 16 step buttons, drawn above the Pattern Editor's steps: groups of 3 steps (across the first 12), of 8, and of 4. ───── ───── ───── ───── ─────────────── ─────────────── ─────── ─────── ─────── ─────── [ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ] Each line runs from the left edge of its first step to the right edge of its last, read from the step buttons themselves, so it lines up however the row is laid out. Attributes ---------- .. autoapisummary:: jdxi_editor.ui.widgets.pattern.step_guide.GUIDE_ROWS jdxi_editor.ui.widgets.pattern.step_guide.LINE_COLOR jdxi_editor.ui.widgets.pattern.step_guide.LINE_WIDTH jdxi_editor.ui.widgets.pattern.step_guide.ROW_SPACING jdxi_editor.ui.widgets.pattern.step_guide.MARGIN Classes ------- .. autoapisummary:: jdxi_editor.ui.widgets.pattern.step_guide.StepGuide Module Contents --------------- .. py:data:: GUIDE_ROWS :value: ((3, 4), (8, 2), (4, 4)) .. py:data:: LINE_COLOR :value: '#8C8C8C' .. py:data:: LINE_WIDTH :value: 2 .. py:data:: ROW_SPACING :value: 9 .. py:data:: MARGIN :value: 6 .. py:class:: StepGuide(step_buttons: Callable[[], Sequence[PySide6.QtWidgets.QWidget]], parent: Optional[PySide6.QtWidgets.QWidget] = None) Bases: :py:obj:`PySide6.QtWidgets.QWidget` Step-length lines above a row of step buttons. .. py:attribute:: _step_buttons .. py:method:: segments() -> list[tuple[int, int, int]] (x1, x2, y) of every line, in this widget's coordinates. .. py:method:: paintEvent(event: PySide6.QtGui.QPaintEvent) -> None