jdxi_editor.ui.windows.jdxi.utils
Utility functions for the JDXI editor UI.
These functions are used to digital messages, handle MIDI communication and manage MIDI input/output ports.
Attributes
Functions
|
Helper method to display a QMessageBox. |
|
Show a QMessageBox from a MessageBoxSpec; optionally call spec.slot after dismiss. |
Module Contents
- jdxi_editor.ui.windows.jdxi.utils.show_message_box(title: str, text: str, icon: object = QMessageBox.Icon.Critical) None[source]
Helper method to display a QMessageBox.
- jdxi_editor.ui.windows.jdxi.utils.show_message_box_from_spec(spec: picoui.specs.widgets.MessageBoxSpec, *, title: str | None = None, message: str | None = None) None[source]
Show a QMessageBox from a MessageBoxSpec; optionally call spec.slot after dismiss. Pass title= or message= to override the spec’s value (for dynamic content).