JBrowser Source Docs

jbrowser.ui.dialogs.popup

Generated from the source code of JBrowser 1.5.4.

jbrowser/ui/dialogs/popup.py · 112 lines

Script-opened popup windows (window.open with features — OAuth / payment flows).

They share the opener's profile so sign-ins flow back to the originating space, and keep the window.opener relationship intact because the page is created by the engine request.

PopupPage#

class PopupPage(QWebEnginePage)source
PopupPage(profile: QWebEngineProfile, popup: 'PopupWindow')

PopupPage.createWindow#

createWindow(window_type)source
class PopupWindow(QWidget)source
PopupWindow(ctx: 'AppContext', ui: 'BrowserController', profile: QWebEngineProfile, space: Space)

Qt overrides: showEvent, paintEvent, closeEvent