MCPcopy Index your code
hub / github.com/BasicProtein/AugmentCode-Free / __init__

Method __init__

gui_qt6/components.py:53–57  ·  view source on GitHub ↗
(self, text: str, size: int = 24, parent=None)

Source from the content-addressed store, hash-verified

51 """标题标签组件"""
52
53 def __init__(self, text: str, size: int = 24, parent=None):
54 super().__init__(text, parent)
55 self.setFont(get_title_font(size))
56 self.setProperty("class", "title")
57 self.setAlignment(Qt.AlignmentFlag.AlignCenter)
58
59
60class SubtitleLabel(QLabel):

Callers

nothing calls this directly

Calls 2

get_title_fontFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected