上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 33 下一页
摘要: #ifndef WANGCHUAN_H #define WANGCHUAN_H #define WC_QT 1 // 如果当前项目是qt则置1,纯c++则置0 #if WC_QT #include <QGuiApplication> #include <QPixmap> #include <QWid 阅读全文
posted @ 2023-08-29 19:39 雾枫 阅读(45) 评论(0) 推荐(0) 编辑
摘要: setWindowFlags(Qt::Tool);//不在任务栏显示 阅读全文
posted @ 2023-08-07 19:51 雾枫 阅读(139) 评论(0) 推荐(0) 编辑
摘要: /*重写该函数*/ void MainWindow::changeEvent(QEvent *event) { if(QEvent::WindowStateChange == event->type()) { QWindowStateChangeEvent * stateEvent = dynami 阅读全文
posted @ 2023-07-11 14:12 雾枫 阅读(1384) 评论(0) 推荐(0) 编辑
摘要: 原文链接 阅读全文
posted @ 2023-07-10 18:14 雾枫 阅读(9) 评论(0) 推荐(0) 编辑
摘要: int iTitleBarHeight = style()->pixelMetric(QStyle::PM_TitleBarHeight); 阅读全文
posted @ 2023-07-10 16:55 雾枫 阅读(118) 评论(0) 推荐(0) 编辑
摘要: this->setAttribute((0t::WA TranslucentBackground,true);//窗体背景全诱明 阅读全文
posted @ 2023-06-29 13:56 雾枫 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 原文链接 double getAngleByLatLon(double ax, double ay, double bx, double by){ ax = ax * osg::PI / 180; ay = ay * osg::PI / 180; bx = bx * osg::PI / 180; b 阅读全文
posted @ 2023-06-22 16:51 雾枫 阅读(50) 评论(0) 推荐(0) 编辑
摘要: entitulist_ui = new Ui::Entitylist; equiplist_ui = new Ui::Equiplist; m_entityList = new QWidget(this); m_equipList = new QWidget(this); entitulist_ui 阅读全文
posted @ 2023-06-16 18:49 雾枫 阅读(171) 评论(0) 推荐(0) 编辑
摘要: //实体列表 窗体背景透明 m_entityList->setWindowFlags(windowFlags() | Qt::FramelessWindowHint);//无边框 m_entityList->setAttribute(Qt::WA_TranslucentBackground, tru 阅读全文
posted @ 2023-06-16 17:23 雾枫 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-06-16 16:19 雾枫 阅读(1072) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 33 下一页
点击右上角即可分享
微信分享提示