MCPcopy
hub / github.com/PyQt5/PyQt / __init__

Method __init__

QWebView/GetCookie.py:22–29  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

20class WebView(QWebView):
21
22 def __init__(self, *args, **kwargs):
23 super(WebView, self).__init__(*args, **kwargs)
24 self.cookieView = QTextEdit()
25 self.cookieView.resize(800, 400)
26 self.cookieView.move(400, 400)
27 self.cookieView.setWindowTitle('Cookies')
28 self.cookieView.show()
29 self.loadFinished.connect(self.onLoadFinished)
30
31 def closeEvent(self, event):
32 self.cookieView.close()

Callers

nothing calls this directly

Calls 3

moveMethod · 0.80
resizeMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected