mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 19:42:07 +08:00
eb79a7214e
old-commit-hash: e06f9828eaf93fcbd9b0cdfbebc54b4197565fc5
11 lines
208 B
C
11 lines
208 B
C
#pragma once
|
|
|
|
#include <QtWidgets>
|
|
|
|
inline void configFont(QPainter &p, QString family, int size, const QString &style) {
|
|
QFont f(family);
|
|
f.setPixelSize(size);
|
|
f.setStyleName(style);
|
|
p.setFont(f);
|
|
}
|