jdxi_editor.main
Main entry point for the JD-Xi Editor application.
This module sets up the application environment, including logging, MIDI message listening, and application window initialization. It also manages the application’s lifecycle, from initialization to event loop execution.
- Functions:
midi_callback(msg): Callback function for handling incoming MIDI messages.
listen_midi(port_name, callback): Listens for MIDI messages on the specified port and triggers the provided callback function.
- setup_logging(): Configures logging for the application, including console and file
logging with rotation.
main(): Main entry point to initialize and run the JD-Xi Editor application, set up the window, and handle MIDI message listening.
Attributes
Functions
|
Main entry point for the JD-Xi Editor application. |
|
Setup and display a professional application splash screen with rotating status text. |
Module Contents
- jdxi_editor.main.setup_splash_screen(app: PySide6.QtWidgets.QApplication) tuple[PySide6.QtWidgets.QSplashScreen, PySide6.QtWidgets.QProgressBar, PySide6.QtWidgets.QLabel][source]
Setup and display a professional application splash screen with rotating status text.
- Returns:
(splash_screen, progress_bar, status_label) for updating progress
- Return type: