会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wonderfulday
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
12
下一页
2021年4月19日
快排算法C语言实现
摘要: void quickSort(int a[],int begin,int end) { if(begin >= end) { return; }//递归结束条件 int i = begin; int j = end; int tempValue = a[i]; while( i != j) { wh
阅读全文
posted @ 2021-04-19 16:33 beautifulday
阅读(336)
评论(0)
推荐(0)
2021年4月9日
ubuntu下qt运行时/usr/bin/ld: cannot find -lGL
摘要: 执行: sudo apt-get install libgl1-mesa-dev
阅读全文
posted @ 2021-04-09 16:09 beautifulday
阅读(150)
评论(0)
推荐(0)
llinux装完qt 启动qtcreator报错
摘要: ./qtcreatorqt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.This application failed to start because no Qt pl
阅读全文
posted @ 2021-04-09 10:26 beautifulday
阅读(579)
评论(0)
推荐(0)
LINUX权限-bash: ./startup.sh: Permission denied
摘要: linux运行如软件的时候报权限不足 用命令chmod 修改一下对应软件运行目录下的.sh权限就可以了 chmod u+x *.sh
阅读全文
posted @ 2021-04-09 09:52 beautifulday
阅读(390)
评论(0)
推荐(0)
2021年3月26日
In short, don’t use a pointer to a string literal if you plan to alter the string.
摘要: 笔记
阅读全文
posted @ 2021-03-26 16:44 beautifulday
阅读(38)
评论(0)
推荐(0)
2021年3月17日
error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
摘要: 运行下面代码修复该问题 sudo apt install libopengl0 -y
阅读全文
posted @ 2021-03-17 15:52 beautifulday
阅读(3104)
评论(1)
推荐(1)
2021年3月3日
QT 在QCustomCalendarWidget添加今天按钮
摘要: QDateEdit可以弹出日期选择框 qt默认的日期选择窗口是不带today按钮的,如何添加按钮快速定位到今天日期呢? 我们可以自定义一个类通过继承QCalendarWidget的形式来实现 详细代码演示 .h头文件 #ifndef QCUSTOMCALENDARWIDGET_H#define QC
阅读全文
posted @ 2021-03-03 14:44 beautifulday
阅读(709)
评论(0)
推荐(0)
2021年2月8日
qt样式之继承
摘要: 如果设置了子容器的样式 子容器里面的控件的样式将不会再继承父父容器的样式
阅读全文
posted @ 2021-02-08 13:44 beautifulday
阅读(541)
评论(0)
推荐(0)
2021年1月18日
QTableWidget焦点方式循环焦点从而导致无法把焦点切到其它控件
摘要: //取消表格cell tab键导航 ui.tableWidget->setTabKeyNavigation(false); 通过这样设置,表格里面的cell就不会获取焦点,从而tablewidget的焦点可以切到其他控件上 哈
阅读全文
posted @ 2021-01-18 17:27 beautifulday
阅读(1008)
评论(0)
推荐(0)
2021年1月14日
QT Widget focus样式
摘要: #myWidget:focus { border-width:1px; border-style:solid; border-color:#00C2BB; }
阅读全文
posted @ 2021-01-14 14:23 beautifulday
阅读(720)
评论(0)
推荐(0)
1
2
3
4
5
···
12
下一页
公告