mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Removed placeholder text. Polished UI when no saved game is found.
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
from PySide2.QtWidgets import QWidget, QGraphicsScene
|
||||
from PySide2.QtGui import QFont
|
||||
from PySide2.QtWidgets import QGraphicsScene
|
||||
|
||||
from qt_ui.uiconstants import COLORS
|
||||
|
||||
|
||||
class QLiberationScene(QGraphicsScene):
|
||||
|
||||
def __init__(self, parent):
|
||||
super().__init__(parent)
|
||||
self.addText("Hello Liberation Map")
|
||||
item = self.addText("No save file found. Go to \"File/New Game\" to setup a new campaign.",
|
||||
QFont("Arial", 14, weight=5))
|
||||
item.setDefaultTextColor(COLORS["white"])
|
||||
|
||||
Reference in New Issue
Block a user