Better and tracked splashscreen

This commit is contained in:
alessandro90
2019-03-29 20:00:41 +01:00
parent 94ac35071f
commit 934b9ab277
4 changed files with 5 additions and 6 deletions

BIN
Artemis3.500px.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
Artemis3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

11
main.py
View File

@@ -1033,12 +1033,11 @@ class MyApp(QMainWindow, Ui_MainWindow):
if __name__ == '__main__': if __name__ == '__main__':
my_app = QApplication(sys.argv) my_app = QApplication(sys.argv)
# img = QPixmap("splash.jpg") img = QPixmap("Artemis3.500px.png")
# img = img.scaled(600, 600, aspectRatioMode = Qt.KeepAspectRatio) # img = img.scaled(600, 600, aspectRatioMode = Qt.KeepAspectRatio)
# splash = QSplashScreen(img) splash = QSplashScreen(img)
# splash.show() splash.show()
# splash.showMessage("Loading database...") sleep(2)
# sleep(2)
w = MyApp() w = MyApp()
# splash.finish(w) splash.finish(w)
sys.exit(my_app.exec_()) sys.exit(my_app.exec_())

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB