随笔分类 -  《21天学通Qt5》

上一页 1 2 3 4 5 6 7 8 9 10 下一页

Qt实现范围滑动条SuperSlider
摘要:.pro 1 QT += core gui 2 3 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 4 5 CONFIG += c++11 6 7 # The following define makes your compiler emit warn 阅读全文

posted @ 2021-04-13 17:07 疯狂delphi 阅读(341) 评论(0) 推荐(0)

Qtt利用QPainter实现铵扭switchButton
摘要:.pro 1 # 2 # 3 # Project created by QtCreator 2019-06-20T17:49:03 4 # 5 # 6 7 QT += core gui 8 9 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 10 11 阅读全文

posted @ 2021-04-13 17:03 疯狂delphi 阅读(240) 评论(0) 推荐(0)

Qt5利用自绘QPainter实现水波纹进度条QProgressBarWater
摘要:.pro 1 QT += core gui 2 3 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 4 5 CONFIG += c++11 6 7 # The following define makes your compiler emit warn 阅读全文

posted @ 2021-04-13 16:56 疯狂delphi 阅读(406) 评论(0) 推荐(0)

Qt5利用自绘实现云台GaugeCloud
摘要:.pro 1 QT += core gui 2 3 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 4 5 CONFIG += c++11 6 7 # The following define makes your compiler emit warn 阅读全文

posted @ 2021-04-13 16:49 疯狂delphi 阅读(406) 评论(0) 推荐(0)

Qt5利用自绘实现遥感
摘要:.pro 1 QT += core gui 2 3 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 4 5 CONFIG += c++11 6 7 # The following define makes your compiler emit warn 阅读全文

posted @ 2021-04-13 16:39 疯狂delphi 阅读(133) 评论(0) 推荐(0)

Qt使用QSS对horizontalSlider进行样式设置
摘要:相关资料: https://mingshiqiang.blog.csdn.net/article/details/109545804 https://blog.csdn.net/parkchorong/article/details/102629913 https://blog.csdn.net/q 阅读全文

posted @ 2021-04-13 13:52 疯狂delphi 阅读(2873) 评论(0) 推荐(0)

Qt-QProgressBar的QSS
摘要:相关资料: https://blog.csdn.net/wzs250969969/article/details/78490234 https://mingshiqiang.blog.csdn.net/article/details/109545579 效果1: QProgressBar { /* 阅读全文

posted @ 2021-04-13 13:40 疯狂delphi 阅读(1168) 评论(0) 推荐(0)

Qt-QLineEdit使用与说明
摘要:相关资料: https://www.it610.com/article/1287601767604858880.htm QT 如何设置 QLineEdit 背景提示文字 说明: .h文件 #include <QLineEdit> #include <QCompleter> #include <QVa 阅读全文

posted @ 2021-04-08 14:22 疯狂delphi 阅读(356) 评论(0) 推荐(0)

QT学习之QString的arg方法
摘要:相关资料 https://www.cnblogs.com/lomper/p/4135387.html QT学习之QString的arg方法 在QT的QString中,arg方法类似于C中的printf中使用的格式输出符(只是有点类似)。 在QT5的帮助文档中,可以看出以下几点: 使用arg(str1 阅读全文

posted @ 2021-04-08 14:20 疯狂delphi 阅读(532) 评论(0) 推荐(0)

学习QT之QString详解
摘要:相关资料: https://www.icode9.com/content-4-646552.html 学习QT之QString详解 QString类保存16位Unicode值,提供了丰富的操作、查询和转换函数。该类还进行了使用隐式共享、高效的内存分配策略等多方面的优化。 一、字符串常用操作字符串的操 阅读全文

posted @ 2021-04-08 13:58 疯狂delphi 阅读(1656) 评论(0) 推荐(0)

QT-QPushButton设置背景色引发的血案
摘要:相关资料: https://blog.csdn.net/zwlhoho/article/details/49453533 QPalette设置失败,QSS设置成功 http://www.360doc.com/content/19/0928/10/110467_863668380.shtml QPal 阅读全文

posted @ 2021-03-05 11:15 疯狂delphi 阅读(1279) 评论(0) 推荐(0)

Qt-Chart在的使用(生成双线、隐藏线,实时动态生成线、时间轴、定义线的颜色)
摘要:相关资料: https://www.cnblogs.com/mrlayfolk/p/13375358.html 官方实例 https://www.freesion.com/article/7245531685/ 实时动态曲线 https://blog.csdn.net/gongjianbo1992/ 阅读全文

posted @ 2021-03-04 18:51 疯狂delphi 阅读(924) 评论(0) 推荐(0)

Qt-QSS样式表语法与格式说明
摘要:相关资料:https://www.cnblogs.com/whwywzhj/p/7604463.html Qt之QSS(样式表语法) 样式规则QSS包含了一个样式规则序列,一个样式规则由一个选择器和声明组成,选择器指定哪些部件由规则影响,声明指定哪些属性应该在部件上进行设置。例如:QPushButt 阅读全文

posted @ 2021-03-02 17:31 疯狂delphi 阅读(643) 评论(0) 推荐(0)

Qt-Qt的窗口显示的内容转化为图片
摘要:相关资料: https://blog.csdn.net/can3981132/article/details/51501235 将Qt的窗口显示的内容转化为图片的方法有两种:第一种是调用QPixmap的静态成员函数QPixmap grabWidget ( QWidget * widget, cons 阅读全文

posted @ 2021-03-02 17:25 疯狂delphi 阅读(463) 评论(0) 推荐(0)

QString::QString 中文乱码
摘要:https://www.cnblogs.com/lsgxeva/p/7804631.html QString中文乱码 https://www.cnblogs.com/findumars/p/6375633.html setCodecForLocale在Qt5保留,其他不在提供了。 QString:: 阅读全文

posted @ 2021-02-24 18:21 疯狂delphi 阅读(923) 评论(0) 推荐(0)

怎么样连接两个char*型的字符串变量,
摘要:https://blog.csdn.net/qq_31839479/article/details/51355949 怎么样连接两个char*型的字符串变量 https://blog.csdn.net/qq_20515461/article/details/83301941 C++中如何连接两个ch 阅读全文

posted @ 2021-02-24 17:31 疯狂delphi 阅读(819) 评论(0) 推荐(0)

PSTR、LPSTR、PCSTR、LPCSTR、LPWSTR、PWSTR、PCWSTR、LPCWSTR、LPCTSTR
摘要:https://blog.csdn.net/W343051232/article/details/7083276 https://blog.csdn.net/jize00/article/details/4379478?utm_medium=distribute.pc_relevant_t0.non 阅读全文

posted @ 2021-02-24 14:19 疯狂delphi 阅读(695) 评论(0) 推荐(0)

Qt 获取程序所在路径等特殊路径的方法
摘要:https://www.cnblogs.com/linuxAndMcu/p/12869383.html 目录 1. 程序所在路径 2. 程序的完整名称 3. 当前工作目录 4. 用户目录路径 5. 桌面路径 6. 程序数据存放路径 7. 临时文件路径 经常我们的程序中需要访问一些特殊的路径,比如程序 阅读全文

posted @ 2021-02-23 15:23 疯狂delphi 阅读(1090) 评论(0) 推荐(0)

工作路径下用CMD启动fluent(相对路径读写文件),QT中QProcess调用详解及实验
摘要:相关资料: https://www.cnblogs.com/Roye/p/12705536.html 原作者出处 https://blog.csdn.net/qq_33485434/article/details/80509284 原作者出处 1、os获取文件路径 path, filename = 阅读全文

posted @ 2021-02-23 15:13 疯狂delphi 阅读(1512) 评论(0) 推荐(0)

error C2143: 语法错误 : 缺少“;”(在“*”的前面)
摘要:error C2143: 语法错误 : 缺少“;”(在“*”的前面) a.h 定义一个类 b.h 定义一个类 b.h引入a文件 a.h再引入b.h后,再声明一个b.h中的类指针时 就会提示C2143。 处理方法: 在a.cpp中引入b.h 在a.h最上方写出“class xxxxxx”b.h中的类 阅读全文

posted @ 2020-12-25 16:53 疯狂delphi 阅读(853) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 下一页

导航