Cleanup QWeatherInfoWindow and rjust wind bearings. (#456)

This commit is contained in:
Ignacio Muñoz Fernandez
2020-11-26 03:10:46 +01:00
committed by GitHub
parent 80bc9d6b23
commit a1b64bc72d
2 changed files with 3 additions and 20 deletions

View File

@@ -1,16 +0,0 @@
from PySide2.QtWidgets import QDialog, QGridLayout, QLabel, QFrame, QSizePolicy
from game.game import Game
from game.weather import Conditions, TimeOfDay, Weather
import qt_ui.uiconstants as CONST
class QWeatherInfoWindow(QDialog):
def __init__(self, turn: int, conditions: Conditions):
super(QWeatherInfoWindow, self).__init__()
self.setModal(True)
self.setWindowTitle("Weather Forecast Report")
self.setWindowIcon(CONST.ICONS["Money"])
self.setMinimumSize(450, 200)