2018年12月19日
摘要: 效果图: 阅读全文
posted @ 2018-12-19 20:34 邶风 阅读(2840) 评论(0) 推荐(0) 编辑
摘要: 参考资料: https://www.cnblogs.com/Jace-Lee/p/5946342.html 效果图: 代码: 阅读全文
posted @ 2018-12-19 20:19 邶风 阅读(2031) 评论(0) 推荐(0) 编辑
摘要: 参考资料:https://blog.csdn.net/what951006/article/details/52876513 效果图: 代码: 阅读全文
posted @ 2018-12-19 20:12 邶风 阅读(874) 评论(0) 推荐(0) 编辑
摘要: #include "wgtmap.h" #include "ui_wgtmap.h" #include #define IMG_MARK_WIDTH 48 #define IMG_MARK_HEIGHT 48 #define IMG_BG_WIDTH 1842 #define IMG_BG_HEIGHT 1080 WgtMap::WgtMap(QWidget *parent) : ... 阅读全文
posted @ 2018-12-19 16:46 邶风 阅读(1110) 评论(0) 推荐(0) 编辑
摘要: void WgtText::paintEvent(QPaintEvent *event) { QPainter painter(this); QString m_string("abcdefghijklmnopqrstuvwxy"); int font_size = 15; float x0 = font_size * m_string.count() * 0... 阅读全文
posted @ 2018-12-19 14:17 邶风 阅读(1286) 评论(0) 推荐(0) 编辑