wip
This commit is contained in:
11
webviewtest.py
Normal file
11
webviewtest.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from PyQt5.QtWidgets import QApplication, QWidget
|
||||
from PyQt5.QtWebEngineWidgets import QWebEngineView
|
||||
|
||||
class WebViewWidget(QWidget):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.browser = QWebEngineView()
|
||||
self.browser.setUrl("http://www.example.com")
|
||||
layout = QVBoxLayout()
|
||||
layout.addWidget(self.browser)
|
||||
self.setLayout(layout)
|
||||
Reference in New Issue
Block a user