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("Calibre", 10, weight=QFont.Weight.Bold)) self.setText(value)