JBrowser Source Docs
You are reading the documentation for JBrowser 1.5.1. The newest release is 1.5.4. Go to the latest documentation

jbrowser.ui.window

Generated from the source code of JBrowser 1.5.1.

jbrowser/ui/window.py · 524 lines

MainWindow: frameless-looking Windows 11 window hosting sidebar, title bar and canvases.

RootWidget#

class RootWidget(QWidget)source

Qt overrides: paintEvent

WindowHooks#

class WindowHooks(UiHooks)source
WindowHooks(window: 'MainWindow')

UI services the engine layer may request (dialogs, popups, notifications).

WindowHooks.ask_credentials#

ask_credentials(title: str, message: str)source

WindowHooks.unlock_vault#

unlock_vault() -> boolsource

WindowHooks.create_popup#

create_popup(profile, space)source

WindowHooks.close_popups#

close_popups() -> Nonesource

WindowHooks.toast#

toast(text: str, icon: str='info') -> Nonesource

WindowHooks.notify#

notify(notification) -> Nonesource

MainWindow#

class MainWindow(QMainWindow)source
MainWindow(ctx: AppContext)

MainWindow.show_restored#

show_restored() -> Nonesource

MainWindow.apply_backdrop#

apply_backdrop() -> Nonesource

MainWindow.start_onboarding#

start_onboarding(replay: bool=False) -> Nonesource

MainWindow.enter_immersive#

enter_immersive(card: WebCard) -> Nonesource

MainWindow.exit_immersive#

exit_immersive() -> Nonesource

Qt overrides: showEvent, event, nativeEvent, changeEvent, eventFilter, resizeEvent, closeEvent