jdxi_editor.ui.windows.audio.monitor

A rack window for the oscilloscope, the VU meters, and the spectrum. It listens to an audio input. It does not listen to MIDI.

Classes

AudioMonitorWindow

AudioMonitorWindow

Functions

_apply_dark_controls(window) → None

Dark controls for this window only.

Module Contents

class jdxi_editor.ui.windows.audio.monitor.AudioMonitorWindow(parent: PySide6.QtWidgets.QWidget | None = None)[source]

Bases: PySide6.QtWidgets.QMainWindow

AudioMonitorWindow

monitor[source]
closeEvent(event: PySide6.QtGui.QCloseEvent) → None[source]

Release the input when the window closes.

Parameters:

event – QCloseEvent

Returns:

None

jdxi_editor.ui.windows.audio.monitor._apply_dark_controls(window: PySide6.QtWidgets.QWidget) → None[source]

Dark controls for this window only.

This used to call ThemeManager().apply_theme(), whose qdarktheme setup_theme replaces the whole application’s stylesheet: opening the monitor re-polished every widget of every open editor (seconds, longer the more editors are open) and restyled them all. The same stylesheet set on the window reaches only the monitor’s own controls.

Parameters:

window – QWidget

Returns:

None