mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
.
This commit is contained in:
parent
3e1f6ec15e
commit
c2fc482d86
@ -42,6 +42,7 @@ class TextBrowser(QWidget, dataget):
|
|||||||
def __init__(self, parent) -> None:
|
def __init__(self, parent) -> None:
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
self.webivewwidget = WebivewWidget(self)
|
self.webivewwidget = WebivewWidget(self)
|
||||||
|
self.webivewwidget.navigate("about:blank")
|
||||||
self.webivewwidget.set_transparent_background()
|
self.webivewwidget.set_transparent_background()
|
||||||
self.webivewwidget.webview.bind("calllunaclickedword", self.calllunaclickedword)
|
self.webivewwidget.webview.bind("calllunaclickedword", self.calllunaclickedword)
|
||||||
self.webivewwidget.webview.bind(
|
self.webivewwidget.webview.bind(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user