![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
每日学习
记录每天学习的内容
买的挂什么时候到账
这个作者很懒,什么都没留下…
展开
-
qt修改文件名
当qt修改了ui的文件名与类名时,需要再ui.h中同步修改类名。原创 2022-09-22 17:05:18 · 1068 阅读 · 0 评论 -
QPushButton上绘图失败原因
原因: 1、QPushButton上有背景色,导致无法对绘制上去,对其背景色设置为透即可; 2、未设置installEventFilter 3、未在事件过滤器中重写事件原创 2022-06-08 11:08:34 · 213 阅读 · 0 评论 -
2021-11-05
NULL和nullptr的区别 NULL的定义 #define NULL ((void *)0) 代码:c++有重载,所以不知道调用哪个函数 void func(int x) { cout<<"void func(int x)"<<endl; } void func(char *y) { cout<<"void func(int *y)"<<endl; } int main() { func(NULL); //不知道调用哪个函数 fu原创 2021-11-05 18:51:34 · 198 阅读 · 0 评论