记录下QCustomPlot 热力图的用法
摘要:记录下QCustomPlot 热力图的用法 // configure axis rect:配置轴矩形 customPlot->setInteractions(QCP::iRangeDrag|QCP::iRangeZoom); // 这也将允许通过拖拽/缩放尺度改变颜色范围 customPlot->a
阅读全文
Python 写了一个批量生成文件夹和批量重命名的工具
摘要:Python 写了一个批量生成文件夹和批量重命名的工具 演示 功能 1. 可以读取excel内容,使用excel单元格内容进行新建文件夹,和文件夹重命名 2. 可以自定义重命名 3. 等 代码 import os from pathlib import Path import xlwings as
阅读全文
Qt QChart 创建图表
摘要:Qt QChart 创建图表 @ 效果 流程 graph LR q(value 数据) q-->s1(QPieSlice)-->ps(QPieSeries)--饼状图-->c(QChart)-->v(QChartView)-->w(QWidget) q-->s2(...)-->ps q-->bs(Q
阅读全文
Qt TCP 简单通信
摘要:Qt TCP通信 例子 效果 流程 通信分为服务器和客户端 服务器 实例化一个服务器对象 pServer = new QTcpServer; 关联服务器的newConnection信号,当有新的客户端连接时,会发送该信号 connect(pServer, &QTcpServer::newConnec
阅读全文
Qt 操作 Excel 的相关文档
摘要:Reference The COM object is a QAxObject with the CLSID {00024500-0000-0000-c000-000000000046}. Interfaces _Application Event Interfaces AppEvents Publ
阅读全文
Microsoft Word Application Reference Qt 操作word 的操作文档
摘要:Microsoft Word Application Reference The Microsoft Word Application COM object is a QAxObject with the CLSID {000209ff-0000-0000-c000-000000000046}. I
阅读全文
Python 进行excel查重
摘要:最近媳妇工作上遇到一个重复性劳动,excel表格查重,重复的标记起来,问我能不能写个程序让它自动查重标记 必须安排 第一次正儿八经写python,边上网查资料,边写 终于成功了 在此记录一下 首先安装xlwings库 pip install xlwings 写代码 import xlwings as
阅读全文