QT读取Txt文件并显示在界面上完整版

上传者: jasen_830 | 上传时间: 2019-12-21 19:58:12 | 文件大小: 746KB | 文件类型: rar
使用QT获取一个txt文件,点击open选取txt文件的位置,并在点击show按钮后在textBrowsr上显示出此文件内容!

文件下载

资源详情

[{"title":"( 21 个子文件 746KB ) QT读取Txt文件并显示在界面上完整版","children":[{"title":"textreading","children":[{"title":"textreading.h <span style='color:#111;'> 724B </span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 6.60KB </span>","children":null,"spread":false},{"title":"textreading.pro <span style='color:#111;'> 387B </span>","children":null,"spread":false},{"title":"textreading.pro.user <span style='color:#111;'> 17.17KB </span>","children":null,"spread":false},{"title":"ui_textreading.h <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 6.63KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"debug","children":[{"title":"moc_dialog.cpp <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"moc_textreading.cpp <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"moc_dialog.obj <span style='color:#111;'> 48.28KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 52.79KB </span>","children":null,"spread":false},{"title":"textreading.intermediate.manifest <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"moc_textreading.obj <span style='color:#111;'> 56.73KB </span>","children":null,"spread":false},{"title":"textreading.obj <span style='color:#111;'> 158.43KB </span>","children":null,"spread":false},{"title":"textreading.exe <span style='color:#111;'> 69.00KB </span>","children":null,"spread":false},{"title":"textreading.pdb <span style='color:#111;'> 1.35MB </span>","children":null,"spread":false},{"title":"textreading.ilk <span style='color:#111;'> 1016.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 6.99KB </span>","children":null,"spread":false},{"title":"textreading.ui <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"textreading.cpp <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"release","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 916.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • qq_41953599 :
    qt打开直接崩了。
    2021-07-22
  • weixin_44425356 :
    提示这个错误是什么原因呢?error: 'UnicodeUTF8' is not a member of 'QApplication' textreading-&gt;setWindo
    2019-01-22
  • 算法小萌新OvO :
    很简洁易懂
    2018-08-16
  • caleb0803 :
    还可以吧。算比较完整的程序
    2017-11-15
  • shanyue66 :
    很不错的代码,对我很有帮助
    2017-11-07

免责申明

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