快捷方式:获取默认字体
(size: int = 10, bold: bool = False)
| 113 | |
| 114 | |
| 115 | def get_default_font(size: int = 10, bold: bool = False) -> QFont: |
| 116 | """快捷方式:获取默认字体""" |
| 117 | return get_font_manager().get_default_font(size, bold) |
| 118 | |
| 119 | |
| 120 | def get_monospace_font(size: int = 9) -> QFont: |
no test coverage detected