Forecast screen. Just a partial implementation: gui and info btn

This commit is contained in:
alessandro90
2019-05-04 17:55:17 +02:00
parent dbfe2cd0d5
commit 175cb66c76
11 changed files with 1394 additions and 194 deletions

View File

@@ -8,14 +8,16 @@ class FixedAspectRatioLabel(QLabel):
self.pixmap = None
def set_default_stylesheet(self):
self.setStyleSheet("""
color: #ffffff;
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,stop:0 #304352 ,stop: 1 #d7d2cc);
""")
self.setStyleSheet("border: 3px;")
# self.setStyleSheet("""
# color: #ffffff;
# background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,stop:0 #304352 ,stop: 1 #d7d2cc);
# """)
def make_transparent(self):
self.setText('')
self.setStyleSheet("background-color: transparent;")
self.setStyleSheet("border: 0px;")
# self.setStyleSheet("background-color: transparent;")
def apply_pixmap(self):
if self.pixmap: