Qt以tableWidget/tableView读取xml文件,并做降序排列等操作

上传者: scarlett_ohara | 上传时间: 2019-12-21 21:02:27 | 文件大小: 1.75MB | 文件类型: zip
利用Qt读取xml文件,一种是debug下的xml文件,一种是任意文件夹下的xml文件,并用tableWidget和tableView两种方式读取。这里的xml文件是学生成绩,所以还完成了平均分,总分,降序排列的操作。

文件下载

资源详情

[{"title":"( 33 个子文件 1.75MB ) Qt以tableWidget/tableView读取xml文件,并做降序排列等操作","children":[{"title":"workForm","children":[{"title":"workForm","children":[{"title":"workForm.pro.user <span style='color:#111;'> 16.82KB </span>","children":null,"spread":false},{"title":"dialog.h <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 12.62KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 753B </span>","children":null,"spread":false},{"title":"workForm.pro <span style='color:#111;'> 436B </span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 856B </span>","children":null,"spread":false},{"title":"dialog.ui <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"dialog.cpp <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"workForm-build-Debug","children":[{"title":"Alist.txt <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"AAA.txt <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"modified.txt <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"release","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 1.84MB </span>","children":null,"spread":false},{"title":"debug","children":[{"title":"moc_mainwindow.cpp <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"workForm.exe <span style='color:#111;'> 128.00KB </span>","children":null,"spread":false},{"title":"moc_mainwindow.obj <span style='color:#111;'> 130.91KB </span>","children":null,"spread":false},{"title":"workForm.pdb <span style='color:#111;'> 2.54MB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 132.10KB </span>","children":null,"spread":false},{"title":"dialog.obj <span style='color:#111;'> 180.58KB </span>","children":null,"spread":false},{"title":"workForm.intermediate.manifest <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"workForm.ilk <span style='color:#111;'> 1.52MB </span>","children":null,"spread":false},{"title":"moc_dialog.cpp <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"moc_dialog.obj <span style='color:#111;'> 48.90KB </span>","children":null,"spread":false},{"title":"mainwindow.obj <span style='color:#111;'> 356.57KB </span>","children":null,"spread":false}],"spread":false},{"title":"Makefile <span style='color:#111;'> 6.79KB </span>","children":null,"spread":false},{"title":"one.txt <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"ui_mainwindow.h <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false},{"title":"none.txt <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 7.63KB </span>","children":null,"spread":false},{"title":"my.xml <span style='color:#111;'> 820B </span>","children":null,"spread":false},{"title":"mine.txt <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"ui_dialog.h <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • luobabybabybaby :
    下载过了之后,再次下载还需要C币,太TM的坑了
    2020-10-20
  • 殇丶兔 :
    代码可以运行起来,不过需要添加几个头文件,代码挺好的,好评
    2019-08-30
  • 婉灵 :
    感觉还不错的样子,好评
    2019-07-06
  • 夏日风情66 :
    资源不错 有帮助
    2018-08-26
  • zhaojiahighaim :
    下载来看看怎么样
    2017-11-23

免责申明

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