![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
QT
文章平均质量分 57
Psycho!
这个作者很懒,什么都没留下…
展开
-
【无标题】
绘图控件GraphicsView一、GraphicsView简介(1)QT有多种绘图相关的技术,我们将在第2部分《2.4.QT绘图和图表》中比较详细系统的讲。(2)本节简单讲一下GraphicsView的基本理论,并使用其做一个sample绘图,初步掌握该绘图控件使用。(3)GraphicsView并不是类似framebuffer那种像素填充式绘图,而是更高层级的图形项式绘图。他有3个关键概念,分别是:Scene场景、View视图、Item图形项。(4)Scene负责内部实现和整体管理,View负原创 2022-02-20 20:07:28 · 261 阅读 · 0 评论 -
【无标题】
QT之QLabel一、QLabel的两个有用信号1.1、linkActivated(1)、label用来包含超链接,点击后跳转打开网页,有2种方法(2)、方法1:setText(“朱老师淘宝店”),然后加setOpenExternalLinks(true)托一个Label控件到画布上:二、方法二方法2:setOpenExternalLinks(false),加linkActivated的槽函数中,QDesktopServices::openUrl(QUrl(“https://zhulaos原创 2022-02-19 20:39:22 · 418 阅读 · 0 评论 -
QT之QPushButton 相关属性设置
QT-按钮风格+QPushButton样式:根据以下步骤设置PushButton属性:![在这里插入图片描述](https://img-blog.csdnimg.cn/QPushButton{color: rgb(00, 00, 00);background:rgb(255, 255, 255);border:0px solid grey; border-radius: 6px;}QPushButton:hover{border-color:rgb(82, 146, 254);background:原创 2021-12-20 22:25:04 · 2073 阅读 · 0 评论