C++
Halsey Walker
这个作者很懒,什么都没留下…
展开
-
QT 实现放大镜跟随鼠标效果
QT实现放大镜跟随鼠标效果原创 2024-02-03 16:21:01 · 774 阅读 · 0 评论 -
QT 抽屉式滑出菜单栏的实现
QWidget实现抽屉式滑出菜单栏原创 2024-02-03 11:14:26 · 622 阅读 · 0 评论 -
QT: build a button with an icon on the left , neat and cool
custom button with an icon原创 2022-12-23 16:58:00 · 59 阅读 · 0 评论 -
QT : build a custom button , neat and cool
QT custom button, neat and cool原创 2022-12-23 15:57:55 · 66 阅读 · 0 评论 -
Qt 写入数据到剪贴板
#include #include QClipboard * cb = QApplication::clipboard();cb->setText(m_lineEdit->text());原创 2021-01-15 10:13:13 · 493 阅读 · 1 评论 -
undefined reference to ... 特殊的链接错误
今天遇到了一个特殊的链接错误。undefined reference to MyComposer(Violin*)这个MyComposer构造函数是有定义的,Violin也是有定义的。而且这个MyComposer的其他成员函数却没有报链接错误。琢磨了半天,才发现,调用的地方使用的Violin类是动态库里的,和本模块的Violin类不同,编译能够通过,链接的时候,编译器发现MyComposer...原创 2020-01-03 10:09:24 · 190 阅读 · 0 评论