mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Qt Map drawn with line and frontline
This commit is contained in:
@@ -4,23 +4,29 @@ from time import sleep
|
||||
from PySide2.QtGui import QPixmap
|
||||
from PySide2.QtWidgets import QApplication, QLabel, QSplashScreen
|
||||
|
||||
from qt_ui import uiconstants
|
||||
from qt_ui.windows.QLiberationWindow import QLiberationWindow
|
||||
from userdata import persistency
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
app = QApplication(sys.argv)
|
||||
|
||||
# Splash screen setup
|
||||
pixmap = QPixmap("../resources/ui/splash_screen.png")
|
||||
splash = QSplashScreen(pixmap)
|
||||
splash.show()
|
||||
|
||||
# Load stuff
|
||||
persistency.setup(sys.argv[1])
|
||||
sleep(2)
|
||||
sleep(0.5)
|
||||
uiconstants.load_icons()
|
||||
app.processEvents()
|
||||
|
||||
# Start window
|
||||
window = QLiberationWindow()
|
||||
window.show()
|
||||
|
||||
splash.finish(window)
|
||||
|
||||
sys.exit(app.exec_())
|
||||
Reference in New Issue
Block a user