随笔分类 -  Qt&C++

20220720
摘要:QT之多个控件隐藏/显示(通用方法不仅适用于QT) https://blog.csdn.net/MelyLenient/article/details/123940252 QList 和 QVector 的区别,和使用注意事项 https://blog.csdn.net/sjp1992/articl 阅读全文
posted @ 2022-07-20 17:02 rin_riceroll 阅读(24) 评论(0) 推荐(0)
qt pro设置复制路径
摘要:Qt指定临时文件生成目录 https://blog.csdn.net/weixin_41882459/article/details/108264681 QT默认情况下把所有的编译中间文件都生成到debug和release文件夹里。可以在.pro文件中加入: MOC_DIR = tmp/moc RC 阅读全文
posted @ 2022-07-13 17:04 rin_riceroll 阅读(178) 评论(0) 推荐(0)
20220712Qt项目查询 part3
摘要:QT枚举根据值获取的名称值,数值 P:我最后是使用最笨的switch的方法return对应的字符串,再高级一点的做法就是自动读list或枚举,获取变量的名称字符串,通过比对值来返回 https://zhuanlan.zhihu.com/p/419673631?utm_medium=social&ut 阅读全文
posted @ 2022-07-12 20:34 rin_riceroll 阅读(63) 评论(0) 推荐(0)
20220712Qt项目查询 part2
摘要:QByteArray的使用 https://wenku.baidu.com/view/db10ca39ff4ffe4733687e21af45b307e871f9f3.html https://blog.csdn.net/qq_41653875/article/details/110739250 Q 阅读全文
posted @ 2022-07-12 20:20 rin_riceroll 阅读(276) 评论(0) 推荐(0)
20220712Qt项目查询 part1
摘要:Qt创建完整路径-mkpath https://blog.csdn.net/wuquan_1230/article/details/122072094 bool CreateDir(const QString &path){QDir dir;return dir.mkpath(path);} QT之 阅读全文
posted @ 2022-07-12 20:07 rin_riceroll 阅读(226) 评论(0) 推荐(0)
20220707Qt项目查询
摘要:QString相关的数据转化 QT中将float数转换为QString类型 https://blog.csdn.net/blqzj214817/article/details/120955731 最普通的用法,例如: float f; QString str = QString("float is 阅读全文
posted @ 2022-07-07 22:32 rin_riceroll 阅读(76) 评论(0) 推荐(0)
xml读取参考
摘要:https://blog.csdn.net/wj584652425/article/details/124333804 Ps。但最后用了ini 阅读全文
posted @ 2022-07-06 21:27 rin_riceroll 阅读(14) 评论(0) 推荐(0)
QT.信号与槽收集+中文乱码
摘要:https://www.freesion.com/article/2169893963/ https://wenku.baidu.com/view/57fd1db368ec0975f46527d3240c844769eaa0b7.html https://blog.csdn.net/qq_45652 阅读全文
posted @ 2022-06-30 19:44 rin_riceroll 阅读(57) 评论(0) 推荐(0)
C++指针相关
摘要:https://www.runoob.com/cplusplus/cpp-pointers.html 星号 * 是:1.用来声明指针 2.来返回位于操作数所指定地址的变量的值 指针是一个变量,其值为另一个变量的地址 eg. int *ip; //ip为一个指针 使用指针时会频繁进行以下几个操作:定义 阅读全文
posted @ 2022-06-30 10:53 rin_riceroll 阅读(56) 评论(0) 推荐(0)
Qt相关基础一
摘要:一、注释 自定义模板 https://blog.csdn.net/zyhse/article/details/105538552 二、快捷键 https://wenku.baidu.com/view/4db524d8f405cc1755270722192e453610665bda.html Ctrl 阅读全文
posted @ 2022-06-29 20:32 rin_riceroll 阅读(36) 评论(0) 推荐(0)