File indexing completed on 2024-05-12 16:01:55

0001 /*
0002  * SPDX-FileCopyrightText: 2021 Alvin Wong <alvin@alvinhc.com>
0003  *
0004  * SPDX-License-Identifier: GPL-3.0-or-later
0005  */
0006 
0007 #ifndef KIS_UI_FONT_H
0008 #define KIS_UI_FONT_H
0009 
0010 #include "kritaui_export.h"
0011 
0012 #include <QFont>
0013 
0014 namespace KisUiFont
0015 {
0016 
0017 /**
0018  * @brief Gets a font for normal UI widgets to use.
0019  * @return the UI font.
0020  */
0021 KRITAUI_EXPORT QFont normalFont();
0022 
0023 /**
0024  * @brief Gets a font with a smallish font size for dock widgets to use.
0025  * @return the small font.
0026  */
0027 KRITAUI_EXPORT QFont dockFont();
0028 
0029 } // namespace KisUiFont
0030 
0031 #endif // KIS_UI_FONT_H