- Added support for minimum and maximum temperatures. - Corrected typo in Calibri font name. - UI tweaks.
12 lines
290 B
Python
12 lines
290 B
Python
from PySide6.QtWidgets import QLabel
|
|
from PySide6.QtGui import QFont
|
|
|
|
|
|
class SubLabel(QLabel):
|
|
""" Formatting for sub-labels. """
|
|
|
|
def __init__(self, value):
|
|
super().__init__()
|
|
self.setFont(QFont("Calibri", 12, weight=QFont.Weight.Bold))
|
|
self.setText(value)
|