FluentUI/src/FluTextStyle.cpp

37 lines
741 B
C++
Raw Normal View History

2023-05-22 16:17:51 +08:00
#include "FluTextStyle.h"
2023-05-10 00:27:53 +08:00
2023-09-13 15:11:22 +08:00
FluTextStyle::FluTextStyle(QObject *parent):QObject{parent}{
2023-05-10 00:27:53 +08:00
QFont caption;
caption.setPixelSize(12);
Caption(caption);
QFont body;
2023-06-18 23:54:39 +08:00
body.setPixelSize(13);
2023-05-10 00:27:53 +08:00
Body(body);
QFont bodyStrong;
2023-07-14 18:18:46 +08:00
bodyStrong.setPixelSize(13);
2023-05-10 00:27:53 +08:00
bodyStrong.setBold(true);
BodyStrong(bodyStrong);
QFont subtitle;
subtitle.setPixelSize(20);
subtitle.setBold(true);
Subtitle(subtitle);
QFont title;
title.setPixelSize(28);
title.setBold(true);
Title(title);
QFont titleLarge;
titleLarge.setPixelSize(40);
titleLarge.setBold(true);
TitleLarge(titleLarge);
QFont display;
display.setPixelSize(68);
display.setBold(true);
Display(display);
}