|
Krita Source Code Documentation
|
Functions | |
| QFont | dockFont () |
| Gets a font with a smallish font size for dock widgets to use. | |
| QFont | normalFont () |
| Gets a font for normal UI widgets to use. | |
| static QFont | systemDefaultUiFont () |
| Gets the system default UI font. | |
| static boost::optional< QFont > | userCfgUiFont () |
| Returns the font the user has configured. | |
Variables | |
| static const QString | customFontSizeCfgName = QStringLiteral("custom_font_size") |
| static const QString | customSystemFontCfgName = QStringLiteral("custom_system_font") |
| static const QString | useCustomSystemFontCfgName = QStringLiteral("use_custom_system_font") |
| KRITAUI_EXPORT QFont KisUiFont::dockFont | ( | ) |
Gets a font with a smallish font size for dock widgets to use.
Definition at line 98 of file KisUiFont.cpp.
References normalFont().
| KRITAUI_EXPORT QFont KisUiFont::normalFont | ( | ) |
Gets a font for normal UI widgets to use.
Definition at line 81 of file KisUiFont.cpp.
References systemDefaultUiFont(), and userCfgUiFont().
|
static |
Gets the system default UI font.
Definition at line 49 of file KisUiFont.cpp.
|
static |
Returns the font the user has configured.
boost::none. Definition at line 63 of file KisUiFont.cpp.
References customFontSizeCfgName, customSystemFontCfgName, KisConfig::readEntry(), systemDefaultUiFont(), and useCustomSystemFontCfgName.
|
static |
Definition at line 31 of file KisUiFont.cpp.
|
static |
Definition at line 30 of file KisUiFont.cpp.
|
static |
Definition at line 29 of file KisUiFont.cpp.