Qt解析CSV文件

上传者: lingnanxiaocai | 上传时间: 2022-05-24 16:06:09 | 文件大小: 9.07MB | 文件类型: RAR
Qt应用程序读取获取CSV文件,提取对应行的数据,转存为excel文件。基于SimpleXlsxWriter类和CSVparser类,代码在Scientific.pro中。

文件下载

资源详情

[{"title":"( 88 个子文件 9.07MB ) Qt解析CSV文件","children":[{"title":"QSimpleXlsxWriter","children":[{"title":"QSimpleXlsxWriter","children":[{"title":"release","children":null,"spread":false},{"title":"debug","children":[{"title":"Drawing.o <span style='color:#111;'> 416.15KB </span>","children":null,"spread":false},{"title":"zip.o <span style='color:#111;'> 84.48KB </span>","children":null,"spread":false},{"title":"XlsxHeaders.o <span style='color:#111;'> 11.19KB </span>","children":null,"spread":false},{"title":"Worksheet.o <span style='color:#111;'> 864.18KB </span>","children":null,"spread":false},{"title":"Chart.o <span style='color:#111;'> 672.00KB </span>","children":null,"spread":false},{"title":"libQlibxlsxwriter.a <span style='color:#111;'> 5.46MB </span>","children":null,"spread":false},{"title":"Chartsheet.o <span style='color:#111;'> 356.06KB </span>","children":null,"spread":false},{"title":"Workbook.o <span style='color:#111;'> 2.30MB </span>","children":null,"spread":false},{"title":"XLSXColorLib.o <span style='color:#111;'> 263.29KB </span>","children":null,"spread":false},{"title":"clsRGBColorRecord.o <span style='color:#111;'> 23.94KB </span>","children":null,"spread":false},{"title":"PathManager.o <span style='color:#111;'> 249.61KB </span>","children":null,"spread":false}],"spread":false},{"title":"QSimpleXlsxWriter.pro <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"QSimpleXlsxWriter.pri <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false}],"spread":true},{"title":"simplexlsx-code","children":[{"title":"XLSXColors","children":[{"title":"XLSXColorLib.h <span style='color:#111;'> 622B </span>","children":null,"spread":false},{"title":"clsRGBColorRecord.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"XLSXColorLib.cpp <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"clsRGBColorRecord.cpp <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"Readme.txt <span style='color:#111;'> 8.29KB </span>","children":null,"spread":false},{"title":"PathManager.cpp <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false},{"title":"Zip","children":[{"title":"zip.h <span style='color:#111;'> 9.75KB </span>","children":null,"spread":false},{"title":"zip.cpp <span style='color:#111;'> 113.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"UTF8Encoder.hpp <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"PathManager.hpp <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"XMLWriter.hpp <span style='color:#111;'> 10.55KB </span>","children":null,"spread":false},{"title":"Xlsx","children":[{"title":"Chart.cpp <span style='color:#111;'> 40.15KB </span>","children":null,"spread":false},{"title":"Chartsheet.h <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"Worksheet.cpp <span style='color:#111;'> 20.14KB </span>","children":null,"spread":false},{"title":"Workbook.cpp <span style='color:#111;'> 77.19KB </span>","children":null,"spread":false},{"title":"Drawing.cpp <span style='color:#111;'> 7.65KB </span>","children":null,"spread":false},{"title":"Chartsheet.cpp <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"Chart.h <span style='color:#111;'> 31.07KB </span>","children":null,"spread":false},{"title":"XlsxHeaders.h <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"XlsxHeaders.cpp <span style='color:#111;'> 6.09KB </span>","children":null,"spread":false},{"title":"SimpleXlsxDef.h <span style='color:#111;'> 31.07KB </span>","children":null,"spread":false},{"title":"mainpage.dox <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Drawing.h <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false},{"title":"Workbook.h <span style='color:#111;'> 10.88KB </span>","children":null,"spread":false},{"title":"Worksheet.h <span style='color:#111;'> 11.94KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Samples","children":[{"title":"mainwindow.ui <span style='color:#111;'> 723B </span>","children":null,"spread":false},{"title":"Simple.pro <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"MultiCharts.cpp <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"Scientific.pro.user <span style='color:#111;'> 23.32KB </span>","children":null,"spread":false},{"title":"Simple.cpp <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"Scientific.pro <span style='color:#111;'> 287B </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"CSVparser.h <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"Images.pro <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"release","children":null,"spread":false},{"title":"Scientific.cpp <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"debug","children":[{"title":"Drawing.o <span style='color:#111;'> 416.14KB </span>","children":null,"spread":false},{"title":"zip.o <span style='color:#111;'> 84.47KB </span>","children":null,"spread":false},{"title":"Scientific.exe <span style='color:#111;'> 4.25MB </span>","children":null,"spread":false},{"title":"XlsxHeaders.o <span style='color:#111;'> 11.18KB </span>","children":null,"spread":false},{"title":"Worksheet.o <span style='color:#111;'> 864.17KB </span>","children":null,"spread":false},{"title":"Chart.o <span style='color:#111;'> 671.99KB </span>","children":null,"spread":false},{"title":"Chartsheet.o <span style='color:#111;'> 356.04KB </span>","children":null,"spread":false},{"title":"ScientificHHH.exe <span style='color:#111;'> 4.24MB </span>","children":null,"spread":false},{"title":"Workbook.o <span style='color:#111;'> 2.30MB </span>","children":null,"spread":false},{"title":"XLSXColorLib.o <span style='color:#111;'> 263.28KB </span>","children":null,"spread":false},{"title":"CSVparser.o <span style='color:#111;'> 320.45KB </span>","children":null,"spread":false},{"title":"clsRGBColorRecord.o <span style='color:#111;'> 23.93KB </span>","children":null,"spread":false},{"title":"Scientific.o <span style='color:#111;'> 535.41KB </span>","children":null,"spread":false},{"title":"PathManager.o <span style='color:#111;'> 249.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"MultiCharts.pro <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"Images.cpp <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":".qmake.stash <span style='color:#111;'> 726B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 25.51KB </span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"object_script.Scientific.Release <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"CSVparser.cpp <span style='color:#111;'> 5.93KB </span>","children":null,"spread":false},{"title":"Scientific.xlsx <span style='color:#111;'> 405.11KB </span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 25.49KB </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 25.63KB </span>","children":null,"spread":false},{"title":"object_script.Scientific.Debug <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"files","children":[{"title":"十分钟数据_371427008.csv <span style='color:#111;'> 2.56MB </span>","children":null,"spread":false},{"title":"十分钟数据_371427005 - 副本.csv <span style='color:#111;'> 2.57MB </span>","children":null,"spread":false},{"title":"371427002.csv <span style='color:#111;'> 2.12MB </span>","children":null,"spread":false},{"title":"371427001.csv <span style='color:#111;'> 2.12MB </span>","children":null,"spread":false},{"title":"十分钟数据_371427006.csv <span style='color:#111;'> 2.56MB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"readme.csv <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"wiki.csv <span style='color:#111;'> 257B </span>","children":null,"spread":false},{"title":"simple.csv <span style='color:#111;'> 100B </span>","children":null,"spread":false}],"spread":false},{"title":"十分钟数据_371427005.csv <span style='color:#111;'> 2.57MB </span>","children":null,"spread":false},{"title":"十分钟数据_371427009.csv <span style='color:#111;'> 2.57MB </span>","children":null,"spread":false},{"title":"371427003.csv <span style='color:#111;'> 2.13MB </span>","children":null,"spread":false},{"title":"371427004.csv <span style='color:#111;'> 2.13MB </span>","children":null,"spread":false},{"title":"十分钟数据_371427007.csv <span style='color:#111;'> 2.57MB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明