Set window maximized

Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
Rémi BERTHO 2018-09-01 12:29:31 +02:00
parent 18ac67e6d1
commit d1e5089bdd
Signed by: dalan
GPG key ID: EE3B917931C07B64

View file

@ -38,6 +38,7 @@ html = html.replace("__IMG_PATH__", img)
web = QWebEngineView() web = QWebEngineView()
web.setHtml(html,QUrl("file://" + exe_dir + "/index.html")) web.setHtml(html,QUrl("file://" + exe_dir + "/index.html"))
web.setWindowTitle(img) web.setWindowTitle(img)
web.showMaximized()
web.show() web.show()
sys.exit(app.exec_()) sys.exit(app.exec_())