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

Function get_font_manager

gui_qt6/font_manager.py:107–112  ·  view source on GitHub ↗

获取全局字体管理器实例

()

Source from the content-addressed store, hash-verified

105
106
107def get_font_manager() -> FontManager:
108 """获取全局字体管理器实例"""
109 global _font_manager
110 if _font_manager is None:
111 _font_manager = FontManager()
112 return _font_manager
113
114
115def get_default_font(size: int = 10, bold: bool = False) -> QFont:

Callers 6

__init__Method · 0.85
get_default_fontFunction · 0.85
get_monospace_fontFunction · 0.85
get_title_fontFunction · 0.85
get_button_fontFunction · 0.85
font_manager.pyFile · 0.85

Calls 1

FontManagerClass · 0.85

Tested by

no test coverage detected