1 Star 0 Fork 28

计算机2103-杨秋梦/GraphBuilder

forked from Linloir/GraphBuilder 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.cpp 578 Bytes
一键复制 编辑 原始数据 按行查看 历史
#include "mainwindow.h"
#include <QApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
//int id = QFontDatabase::addApplicationFont(":/fonts/fonts/corbel.ttf");
//qDebug() << id;
//QFontDatabase::addApplicationFont(":/fonts/fonts/corbell.ttf");
//Qt::AA_EnableHighDpiScaling;
#ifdef Q_OS_LINUX
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QApplication a(argc, argv);
MainWindow w;
w.setWindowFlag(Qt::FramelessWindowHint);
w.setAttribute(Qt::WA_TranslucentBackground);
w.show();
return a.exec();
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/yang-qiumen/GraphBuilder.git
git@gitee.com:yang-qiumen/GraphBuilder.git
yang-qiumen
GraphBuilder
GraphBuilder
main

搜索帮助

D67c1975 1850385 1daf7b77 1850385