feat:heapmap with value;fix:qcustomplot warning

This commit is contained in:
2025-11-04 10:47:41 +08:00
parent f411ab21cb
commit a07ff7d6b7
9 changed files with 852 additions and 389 deletions

View File

@@ -27,15 +27,12 @@ namespace material {
private:
static QString get_font_family(int fontId, const QString& fallback) {
if (fontId == -1) {
qWarning() << "Failed to load font:" << fallback;
return fallback;
}
QStringList families = QFontDatabase::applicationFontFamilies(fontId);
if (families.isEmpty()) {
qWarning() << "No families found for font:" << fallback;
return fallback;
}
qDebug() << "families found for font:" << families;
return families.first();
}
};