jdxi_editor.ui.windows.jdxi.recent_files ======================================== .. py:module:: jdxi_editor.ui.windows.jdxi.recent_files .. autoapi-nested-parse:: Recent MIDI Files Manager Manages a list of recently opened MIDI files, persisting them to disk. Classes ------- .. autoapisummary:: jdxi_editor.ui.windows.jdxi.recent_files.RecentFilesManager Module Contents --------------- .. py:class:: RecentFilesManager Manages recent MIDI files list with persistence. .. py:attribute:: MAX_RECENT_FILES :value: 10 .. py:attribute:: config_dir .. py:attribute:: recent_files_path .. py:attribute:: _recent_files :type: List[str] :value: [] .. py:method:: _load_recent_files() -> None Load recent files from disk. .. py:method:: _save_recent_files() -> None Save recent files to disk. .. py:method:: add_file(file_path: str) -> None Add a file to the recent files list. :param file_path: Path to the MIDI file .. py:method:: get_recent_files() -> List[str] Get the list of recent files. :return: List of file paths .. py:method:: clear_recent_files() -> None Clear all recent files.