加载主题目录里的主题 :param cls: :param theme: 文件夹名字
(cls, theme='Default')
| 307 | |
| 308 | @classmethod |
| 309 | def loadUserTheme(cls, theme='Default'): |
| 310 | """加载主题目录里的主题 |
| 311 | :param cls: |
| 312 | :param theme: 文件夹名字 |
| 313 | """ |
| 314 | Setting.setValue('theme', theme) |
| 315 | cls.loadTheme() |
| 316 | |
| 317 | @classmethod |
| 318 | def loadColourfulTheme(cls, color, widget=None, replaces={}): |