:param cls: :return: 主题中 font.ttf 的绝对路径
(cls)
| 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=''): |