Better and tracked splashscreen
This commit is contained in:
BIN
Artemis3.500px.png
Normal file
BIN
Artemis3.500px.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
BIN
Artemis3.png
Normal file
BIN
Artemis3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 148 KiB |
11
main.py
11
main.py
@@ -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_())
|
||||||
|
|||||||
BIN
splash.jpg
BIN
splash.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 77 KiB |
Reference in New Issue
Block a user