Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2021 Alvin Wong <[email protected]>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef KIS_UI_FONT_H
#define KIS_UI_FONT_H
#include "kritaui_export.h"
#include <QFont>
namespace KisUiFont
{
/**
* @brief Gets a font for normal UI widgets to use.
* @return the UI font.
*/
KRITAUI_EXPORT QFont normalFont();
/**
* @brief Gets a font with a smallish font size for dock widgets to use.
* @return the small font.
*/
KRITAUI_EXPORT QFont dockFont();
} // namespace KisUiFont
#endif // KIS_UI_FONT_H