2019-07-03 23:33:47 +02:00

24 lines
514 B
Python

import sys
from time import sleep
from PySide2.QtGui import QPixmap
from PySide2.QtWidgets import QApplication, QLabel, QSplashScreen
from qt_ui.windows.QLiberationWindow import QLiberationWindow
if __name__ == "__main__":
app = QApplication(sys.argv)
pixmap = QPixmap("../resources/ui/splash_screen.png")
splash = QSplashScreen(pixmap)
splash.show()
sleep(2)
app.processEvents()
window = QLiberationWindow()
window.show()
splash.finish(window)
sys.exit(app.exec_())