from PySide6.QtWidgets import QWidget, QLabel, QVBoxLayout from PySide6.QtGui import QFont class StubScreen(QWidget): def __init__(self, title_text: str): super().__init__() root = QVBoxLayout(self) root.setContentsMargins(18, 16, 18, 16) root.setSpacing(12) title = QLabel(title_text) title.setFont(QFont("", 22, 600)) sub = QLabel("Заглушка экрана. Тут будет функционал.") sub.setStyleSheet("color: rgba(138,147,166,0.9);") root.addWidget(title) root.addWidget(sub) root.addStretch(1)