12 2022 档案
摘要:https://blog.csdn.net/qq_37006532/article/details/127537965 一、前言 嵌入式触摸系统 主要介绍qt用QCustomPlot实现曲线绘制后,点击屏幕,在曲线上显示点击位置的曲线值和参考线 二、开发环境 开发环境 QT5 + linux + Q
阅读全文
摘要:https://blog.csdn.net/didi_ya/article/details/121128836 目录 1、前言2、QCustomPlot中的轴介绍3、设置轴标签与清空轴标签4、设置轴范围5、设置轴与记号标签的显示与隐藏6、设置轴的颜色7、设置背景颜色8、设置背景图片 本文将对QCus
阅读全文
摘要:https://blog.csdn.net/didi_ya/article/details/121237553 目录 1、前言2、方法一——clearGraphs()3、方法二——clearPlottables()4、方法三——clear()5、方法四——removeGraph()和removePl
阅读全文
摘要:https://blog.csdn.net/weixin_39935783/article/details/111685444?ops_request_misc=&request_id=&biz_id=102&utm_term=qt%20%20csv%E6%96%87%E4%BB%B6&utm_me
阅读全文
摘要:QDateTime time = QDateTime::currentDateTime(); //获取当前时间 QString str = time.toString("yyyy-MM-dd"); //设置显示格式 int timeT = time.toTime_t(); //将当前时间转为时间戳
阅读全文
摘要:QT中LineEdit、TextEdit、PlainTextEdit这三个控件区别为:输入内容不同、用途不同、限制行数不同。 一、输入内容不同 1、LineEdit:LineEdit的输入内容为单行文本输入。 2、TextEdit:TextEdit的输入内容为多行文本输入。 3、PlainTextE
阅读全文