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

Method stylePath

Utils/ThemeManager.py:429–436  ·  view source on GitHub ↗

:param cls: :return: 主题中 style.qss 的绝对路径

(cls, path='')

Source from the content-addressed store, hash-verified

427
428 @classmethod
429 def stylePath(cls, path=''):
430 """
431 :param cls:
432 :return: 主题中 style.qss 的绝对路径
433 """
434 return os.path.abspath(
435 os.path.join(ThemeManager.ThemeDir, path or ThemeManager.ThemeName,
436 'style.qss')).replace('\\', '/')

Callers 3

loadThemeMethod · 0.80
loadColourfulThemeMethod · 0.80
loadPictureThemeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected