mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
20 lines
566 B
Python
20 lines
566 B
Python
from PySide2.QtGui import QWindow
|
|
from PySide2.QtWidgets import QHBoxLayout, QLabel, QWidget, QDialog
|
|
|
|
|
|
class QBriefingWindow(QDialog):
|
|
|
|
def __init__(self, parent, event):
|
|
super(QBriefingWindow, self).__init__(parent)
|
|
self.gameEvent = event
|
|
self.setWindowTitle("Briefing : " + str(event))
|
|
self.setMinimumSize(200,200)
|
|
self.setModal(True)
|
|
self.initUi()
|
|
|
|
def initUi(self):
|
|
|
|
layout = QHBoxLayout()
|
|
layout.addWidget(QLabel("TODO : This will be the briefing window"))
|
|
|
|
self.setLayout(layout) |