MCPcopy Create free account
hub / github.com/PyQt5/PyQtClient / fontPath

Method fontPath

Utils/ThemeManager.py:419–426  ·  view source on GitHub ↗

:param cls: :return: 主题中 font.ttf 的绝对路径

(cls)

Source from the content-addressed store, hash-verified

417
418 @classmethod
419 def fontPath(cls):
420 """
421 :param cls:
422 :return: 主题中 font.ttf 的绝对路径
423 """
424 return os.path.abspath(
425 os.path.join(ThemeManager.ThemeDir, ThemeManager.ThemeName,
426 'font.ttf')).replace('\\', '/')
427
428 @classmethod
429 def stylePath(cls, path=''):

Callers 2

loadThemeMethod · 0.80
loadFontMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected