settings module¶
- settings.add_recent_project_creation_path(project_creation_path: str) None [source]¶
Add a recent project creation path to the settings file
- settings.add_recent_project_path(project_path: str) None [source]¶
Add a recent project path to the settings file with last modification date and size
- settings.apply_stylesheet(main_window, ui, settings, current_theme) None [source]¶
Apply the stylesheet to the main window and update the image based on the theme
- settings.get_recent_project_creation_paths() List[str] [source]¶
Get the recent project creation paths
- settings.get_recent_project_paths() List[Dict[str, Any]] [source]¶
Get the recent project paths with their last modification date and size
- settings.load_ui(main_window, ui, settings, current_theme, themes)[source]¶
Load the UI from the .ui file
- settings.open_settings_dialog(main_window, settings, themes, current_theme) None [source]¶
Open the settings dialog
- settings.themes_path: Path = PosixPath('/home/runner/work/ManimStudio/ManimStudio/src/themes/themes.json')¶
Settings
- settings.update_image(ui, current_theme) None [source]¶
Update the image based on the theme and resize event.