会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yyfaaa
博客园
首页
新随笔
联系
订阅
管理
2024年10月22日
cannot bind non-const lvalue reference of type ‘QDomElement&’ to an rvalue of type ‘QDomElement’
摘要: /mnt/hgfs/SharedFolders/KingKongNano/YiKingStudio/TopoConfig/topoconfigwindow.cpp:2079: error: cannot bind non-const lvalue reference of type ‘QDomEle
阅读全文
posted @ 2024-10-22 17:19 yyfaaa
阅读(111)
评论(0)
推荐(0)
2024年7月29日
RS485浅析(硬件原理,软件配置)
摘要: 485是一种最常用的通信接口,在单片机裸机和Linux系统中都有应用。并且又分为收发电平自动转换和手动转换两种。本文将分别进行举例说明。 485通信原理 差分信号传输RS485 通信采用差分信号传输,通常情况下只需要两根信号线就可以进行正常的通信。在差分信号中,逻辑0和逻辑1是用两根信号线(A+和B
阅读全文
posted @ 2024-07-29 11:45 yyfaaa
阅读(1622)
评论(0)
推荐(0)
2024年7月5日
qt 入门常用类理解(涉及QMessageBox,Layout,Spacers,Splitter,Buuddy,LoginApp,QFile,QDir)
摘要: 1.QMessageBox QMessageBox::Yes QApplication::quit(); QMessageBox::exec用于在模态(阻塞式)对话框中显示一个消息框,并等待用户的响应。这个函数通常用于在应用程序中显示消息、警告或询问对话框,并等待用户采取适当的操作后继续执行。 in
阅读全文
posted @ 2024-07-05 10:19 yyfaaa
阅读(65)
评论(0)
推荐(0)
2024年7月4日
QThread::run函数的使用(涉及到QThread::run, Qthread::start,protected,virtual虚函数,override的进一步理解)
摘要: RobotCommuServer.h#ifndef ROBOTCOMMUSERVER_H #define ROBOTCOMMUSERVER_H #include <QThread> class RobotCommuServer : public QThread { Q_OBJECT public:
阅读全文
posted @ 2024-07-04 16:58 yyfaaa
阅读(189)
评论(0)
推荐(0)
2024年6月20日
qstring::arg方法
摘要: void TimeMgrUI::SetLinuxTime(QString sTime){#ifdef g_LinuxPlatform QString str = QString("date -s \"%1\"").arg(sTime); system(str.toStdString().data()
阅读全文
posted @ 2024-06-20 16:20 yyfaaa
阅读(171)
评论(0)
推荐(0)
2024年6月6日
百兆网口和千兆网口指示含义的区别
摘要: 网口指示灯状态:千兆网口和百兆网口灯的含义不同 千兆网口: 根据核心板提供给ETH0_LED1、ETH0_LED1的信号 当与其连接的是百兆网口PHY芯片的设备时,LED1(绿灯)亮,LED2(黄灯)不亮当有数据发送或者接收时,闪烁; 当与其连接的是千兆网口PHY芯片的设备时,LED2(黄灯)亮,L
阅读全文
posted @ 2024-06-06 17:29 yyfaaa
阅读(1760)
评论(0)
推荐(0)
2024年4月22日
QT 打开文件并且显示文件内容 (QFileDialog QMessageBox QTextStream )
摘要: QFileQTextStreamQMessageBoxQFileDialog应用示例mainwindow.cpp#include "mainwindow.h" #include "ui_mainwindow.h" #include <QFile> #include <QTextStream> #in
阅读全文
posted @ 2024-04-22 13:23 yyfaaa
阅读(77)
评论(0)
推荐(0)
2021年7月19日
字符串按照“=”分割,c++
摘要: string EventTrigger::SegmentationString(std::string& str) { try { string dft_val; const std::string& seprator = "="; std::vector<std::string> vec; Str
阅读全文
posted @ 2021-07-19 21:59 yyfaaa
阅读(111)
评论(0)
推荐(0)
std::bind()和this相遇
摘要: eg1: void EventTrigger::Run(){ RegisterDetector(); if (ParseMap(AppContext::GetResourceFile("global_map.path")) == false) { DLOG(ERROR) << "parse map
阅读全文
posted @ 2021-07-19 21:57 yyfaaa
阅读(2803)
评论(0)
推荐(1)
公告