JBrowser Source Docs

jbrowser.ui.dialogs.settings

Generated from the source code of JBrowser 2.0.3.

jbrowser/ui/dialogs/settings.py · 1,151 lines

Settings window.

Navigation pane on the left (in groups), option cards on the right. Every card explains in plain language what the option does, and every control writes straight into the settings store, so changes apply immediately.

Constants#

Name Value
NAV_W 250
NAV_GROUPS [('Browsing', [('general', 'General', 'home'), ('search', 'Search', 'search'), ('defaul…
PAGES [page for _group, pages in NAV_GROUPS for page in pages]
CLEAR_RANGES [(3600, 'Last hour'), (86400, 'Last 24 hours'), (7 * 86400, 'Last 7 days'), (28 * 86400…

SettingCard#

class SettingCard(QFrame)source
SettingCard(glyph: str, title: str, description: str, control: QWidget | None=None, extra: QWidget | None=None, token: str='text2')

One option: icon, title, plain-language description, control on the right.

SettingsWindow#

class SettingsWindow(ChromeWindow)source
SettingsWindow(ctx, ui, parent: QWidget | None=None)

SettingsWindow.show_page#

show_page(key: str) -> Nonesource

Qt overrides: closeEvent, keyPressEvent, changeEvent