Krita Source Code Documentation
Loading...
Searching...
No Matches
KisUiFont.cpp File Reference
#include "KisUiFont.h"
#include <kis_config.h>
#include <boost/optional.hpp>
#include <QtGlobal>
#include <QFontDatabase>

Go to the source code of this file.

Namespaces

namespace  KisUiFont
 

Functions

QFont KisUiFont::dockFont ()
 Gets a font with a smallish font size for dock widgets to use.
 
QFont KisUiFont::normalFont ()
 Gets a font for normal UI widgets to use.
 
static QFont KisUiFont::systemDefaultUiFont ()
 Gets the system default UI font.
 
static boost::optional< QFont > KisUiFont::userCfgUiFont ()
 Returns the font the user has configured.
 

Variables

static const QString KisUiFont::customFontSizeCfgName = QStringLiteral("custom_font_size")
 
static const QString KisUiFont::customSystemFontCfgName = QStringLiteral("custom_system_font")
 
static const QString KisUiFont::useCustomSystemFontCfgName = QStringLiteral("use_custom_system_font")