04 2020 档案
摘要:tool.h头文件中: #ifndef TOOL_H #define TOOL_H #include <QObject> class Tool; class Tool:public QObject{ public: static QString tenString2HexStr(QString me
阅读全文
摘要:https://pbxbook.com/other/mac-tty.html 在QT打开串口的列表中: macOS选择tty,windows选择com
阅读全文
摘要:https://stackoverflow.com/questions/5673827/is-there-an-example-websockets-for-qt QT项目中 .pro文件: QT += core gui #获取串口列表倒包 QT += serialport #创建websocket
阅读全文
摘要:https://www.cnblogs.com/tonifyingheart/p/9893561.html 项目的.pro文件中: QT += core gui# 注意和上面的+=号对齐,否则就失效了 QT += serialport RC_ICONS = htd.ico greaterThan(Q
阅读全文
摘要:parseDom(arg) { var objE = document.createElement("div"); objE.innerHTML = arg; return objE.childNodes; }; React框架中使用: 第一种: <div className={styles.bod
阅读全文
摘要:fetch(ApiConfig.url.getOpus + `?project_id=${projectId}`, { headers: { 'content-type': 'application/json', 'Authorization': `Bearer ${token}` }, metho
阅读全文
摘要:$sliderIndex : 100; .sliderShowing{ animation: openAnim 0.5s linear; width: $leftAreaWidth; height: 100%; background-color: transparent; display: flex
阅读全文
摘要:https://blog.csdn.net/u011215669/article/details/89086362 (()=>{ let canShow = true if(this.props.isPlayerOnly){ canShow = false }else{ if(isFullScree
阅读全文
摘要:把下列样式添加到div中,则div中的所有子元素,则不会被选中. 参考: https://www.cnblogs.com/wyhlightstar/p/6542295.html .div{ -moz-user-select:none;/*火狐*/ -webkit-user-select:none;/
阅读全文
摘要:http://www.jq22.com/webqd4172 .imgBox { width:200px; height:200px; overflow:hidden; } .imgBox img { width:200px; height:200px; transition:all .4s; -mo
阅读全文