Add simplebrowser.py
This commit is contained in:
parent
a907e913dd
commit
299b887531
13
qutebrowser/simplebrowser.py
Normal file
13
qutebrowser/simplebrowser.py
Normal file
@ -0,0 +1,13 @@
|
||||
"""Simple browser for testing purposes"""
|
||||
|
||||
import sys
|
||||
|
||||
from PyQt5.QtCore import QUrl
|
||||
from PyQt5.QtWidgets import QApplication
|
||||
from PyQt5.QtWebKitWidgets import QWebView
|
||||
|
||||
app = QApplication(sys.argv)
|
||||
wv = QWebView()
|
||||
wv.load(QUrl(sys.argv[1]))
|
||||
wv.show()
|
||||
app.exec_()
|
Loading…
Reference in New Issue
Block a user