新增customplot网页版

This commit is contained in:
feiyangqingyun
2022-01-14 17:19:36 +08:00
parent b4949fa01d
commit 09b53077e2
10 changed files with 735 additions and 4 deletions

View File

@@ -8,9 +8,13 @@
int main(int argc, char *argv[])
{
#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
QApplication::setAttribute(Qt::AA_Use96Dpi);
#endif
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Floor);
#endif
QApplication a(argc, argv);
QFont font;
font.setFamily("Microsoft Yahei");