diff --git a/SimplePanoramaViewer b/SimplePanoramaViewer index 6975d9d..09d7571 100755 --- a/SimplePanoramaViewer +++ b/SimplePanoramaViewer @@ -36,7 +36,8 @@ except OSError as exception: html = html.replace("__IMG_PATH__", img) web = QWebEngineView() -web.setHtml(html,QUrl("file://" + exe_dir + "/")) +url = QUrl.fromLocalFile(exe_dir + "/index.html") +web.setHtml(html,url) web.setWindowTitle(img) web.showMaximized() web.show() diff --git a/index.html b/index.html new file mode 100644 index 0000000..2f47c02 --- /dev/null +++ b/index.html @@ -0,0 +1,66 @@ + + + + + Panorama viewer + + + + + + + + +
+ + + + + + + +

Panorama

> + + + +