Set window maximized
Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
parent
18ac67e6d1
commit
d1e5089bdd
1 changed files with 1 additions and 0 deletions
|
@ -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_())
|
||||||
|
|
Loading…
Reference in a new issue