Qt:在TreeModel+QTreeView中使用复选框(checkbox)

上传者: ajaxhe | 上传时间: 2020-01-03 11:16:29 | 文件大小: 2.27MB | 文件类型: rar
QTreeView Checkboxes 需要实现一个功能:在QT的TreeView中,能够使用复选框,并且选中父节点的复选框可以全选或取消子节点的复选框。 参考链接: http://blog.csdn.net/ajaxhe/article/details/7518285

文件下载

资源详情

[{"title":"( 16 个子文件 2.27MB ) Qt:在TreeModel+QTreeView中使用复选框(checkbox)","children":[{"title":"test_treemodel_checkeable","children":[{"title":"test_treemodel_checkeable.suo <span style='color:#111;'> 40.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"BuildLog.htm <span style='color:#111;'> 7.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"test_treemodel_checkeable.ncb <span style='color:#111;'> 11.48MB </span>","children":null,"spread":false},{"title":"test_treemodel_checkeable.sln <span style='color:#111;'> 941B </span>","children":null,"spread":false},{"title":"test_treemodel_checkeable","children":[{"title":"treeitem.h <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"test_treemodel_checkeable.vcproj <span style='color:#111;'> 11.61KB </span>","children":null,"spread":false},{"title":"default.txt <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"treeitem.cpp <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"Resources","children":null,"spread":false},{"title":"testDialog.h <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"test_treemodel_checkeable.vcproj.ajaxhe-PC.ajaxhe.user <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"treemodel.cpp <span style='color:#111;'> 8.34KB </span>","children":null,"spread":false},{"title":"simpletreemodel.qrc <span style='color:#111;'> 99B </span>","children":null,"spread":false},{"title":"GeneratedFiles","children":[{"title":"Debug","children":null,"spread":false},{"title":"Release","children":null,"spread":false}],"spread":false},{"title":"main.cpp <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"default1.txt <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"treemodel.h <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"testDialog.cpp <span style='color:#111;'> 766B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • lufangkang1987 :
    很好,简单明了。学习了,谢谢分享!
    2020-06-28
  • xuechui8216 :
    学习一下,新手多学习
    2018-08-14
  • er天 :
    很好,简单明了。学习了,谢谢分享!
    2017-12-15
  • baimafeima123 :
    good 很好的资源 适合新手
    2016-09-20
  • lichen_net :
    可以直接编译,改改还是可以用
    2016-03-11

免责申明

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