jdxi_editor.ui.image.instrument

This module provides functions to generate a visual representation of the Roland JD-Xi synthesizer interface using PySide6. It renders key UI elements, including the display, sequencer section, and keyboard.

Functions

Dependencies

  • PySide6.QtCore (Qt)

  • PySide6.QtGui (QFont, QPixmap, QImage, QPainter, QPen, QColor)

  • jdxi_editor.ui.windows.jdxi.dimensions (JDXI_WIDTH, JDXI_HEIGHT, etc.)

Usage

These functions generate and display a graphical representation of the JD-Xi’s controls, which can be integrated into a larger PySide6-based UI.

Functions

draw_instrument_pixmap(→ PySide6.QtGui.QPixmap)

Create a visual representation of the JD-Xi instrument panel.

draw_sequencer(→ None)

Draw the sequencer section of the JD-Xi interface.

Module Contents

jdxi_editor.ui.image.instrument.draw_instrument_pixmap() PySide6.QtGui.QPixmap[source]

Create a visual representation of the JD-Xi instrument panel.

Returns:

QPixmap representation of the JD-Xi interface.

Return type:

QPixmap

jdxi_editor.ui.image.instrument.draw_sequencer(painter: PySide6.QtGui.QPainter) None[source]

Draw the sequencer section of the JD-Xi interface.

Parameters:

painter (QPainter) – QPainter instance used for drawing.

Returns:

None

Return type:

None