jdxi_editor.ui.widgets.digital.title ==================================== .. py:module:: jdxi_editor.ui.widgets.digital.title .. autoapi-nested-parse:: Digital Title This module provides the DigitalDisplay class, a custom PySide6 QWidget designed to simulate an LCD-style digital digital for MIDI controllers, synthesizers, or other music-related applications. The digital shows preset and program information along with an octave indicator. Features: - Displays a program name, program number, preset name, and preset number. - Shows the current octave with a digital-style font. - Customizable font family for the digital digital. - Resizable and styled for a retro LCD appearance. - Provides setter methods to update displayed values dynamically. Classes: - DigitalTitle: A QWidget subclass that renders a digital-style digital. Dependencies: - PySide6.QtWidgets (QWidget, QSizePolicy) - PySide6.QtGui (QPainter, QColor, QPen, QFont) Classes ------- .. autoapisummary:: jdxi_editor.ui.widgets.digital.title.DigitalTitle Module Contents --------------- .. py:class:: DigitalTitle(tone_name: str = 'Init Tone', digital_font_family: str = 'JD LCD Rounded', show_upper_text: bool = True, parent: PySide6.QtWidgets.QWidget = None) Bases: :py:obj:`jdxi_editor.ui.widgets.digital.base.DigitalDisplayBase` Simplified digital showing only the current tone name. .. py:attribute:: show_upper_text :value: True .. py:attribute:: _state :type: jdxi_editor.ui.widgets.digital.state.JDXiDisplayState .. py:method:: __del__() .. py:method:: set_tone_name(tone_name: str) -> None Update the tone name digital. :param tone_name: str .. py:property:: text :type: str .. py:method:: setText(value: str) -> None Alias for set_tone_name. :param value: str