gui.utils.ui_restore
- File:
EuljiroBible/gui/utils/ui_restore.py
- Author:
Benjamin Jaedon Choi - https://github.com/saintbenjamin
- Affiliated Church:
The Eulji-ro Presbyterian Church [대한예수교장로회(통합) 을지로교회]
- Address:
The Eulji-ro Presbyterian Church, 24-10, Eulji-ro 20-gil, Jung-gu, Seoul 04549, South Korea
- Telephone:
+82-2-2266-3070
- E-mail:
euljirochurch [at] G.M.A.I.L. (replace [at] with @ and G.M.A.I.L as you understood.)
- License:
MIT License with Attribution Requirement (see LICENSE file for details); Copyright (c) 2025 The Eulji-ro Presbyterian Church.
Restores user settings into the main window UI components.
- gui.utils.ui_restore.restore_settings_to_ui(win, settings)[source]
Restore persisted settings into the main window UI.
This function applies previously saved user settings (typically loaded from the settings store at startup) to the active UI widgets. It focuses on restoring state that helps the user resume where they left off, such as the last selected book/chapter/verse and any optional display toggles that exist on the verse tab.
- Parameters:
win (MainWindow) – Main window instance that owns the tab widget and all child tabs.
settings (dict) – Settings dictionary loaded from the configuration store.
- Returns:
None