mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-01 14:16:48 +08:00
eb79a7214e
old-commit-hash: e06f9828ea
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);
|
|
}
|