摘要: QT枚举根据值获取的名称值,数值 P:我最后是使用最笨的switch的方法return对应的字符串,再高级一点的做法就是自动读list或枚举,获取变量的名称字符串,通过比对值来返回 https://zhuanlan.zhihu.com/p/419673631?utm_medium=social&ut 阅读全文
posted @ 2022-07-12 20:34 rin_riceroll 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(97) 评论(0) 推荐(0) 编辑