使用QTableView、QSqlTableMode与QSqlDatabase对数据库数据进行操作的Demo

上传者: qq21497936 | 上传时间: 2019-12-21 20:30:24 | 文件大小: 19.75MB | 文件类型: rar
1.sqlTableModeDemo为源码包,不要使用shadowbuild,通知注意mainwindow第26行的发布时和编译时数据库的使用位置; 2.app为独立可运行包,点击即可运行,方便调试与测试。 作者:红胖子/红模仿 QQ:21497936 博客地址:http://blog.csdn.net/qq21497936 本文章地址:http://blog.csdn.net/qq21497936/article/details/78615800

文件下载

资源详情

[{"title":"( 67 个子文件 19.75MB ) 使用QTableView、QSqlTableMode与QSqlDatabase对数据库数据进行操作的Demo","children":[{"title":"sqlTableModeDemo","children":[{"title":"sqlTableModeDemo","children":[{"title":"mysqltablemodel.h <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"sqlTableModeDemo.pro <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"sqlTableModeDemo.pro.user <span style='color:#111;'> 17.60KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 7.09KB </span>","children":null,"spread":false},{"title":"sqlite3.exe <span style='color:#111;'> 666.50KB </span>","children":null,"spread":false},{"title":"release","children":null,"spread":false},{"title":"debug","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"mysqltablemodel.cpp <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 21.87KB </span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 617B </span>","children":null,"spread":false},{"title":"ui_mainwindow.h <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 61.78KB </span>","children":null,"spread":false},{"title":"demo.db <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 61.88KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp.autosave <span style='color:#111;'> 7.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMeFirst.txt <span style='color:#111;'> 422B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"qt_cs.qm <span style='color:#111;'> 124.45KB </span>","children":null,"spread":false},{"title":"Qt5Widgets.dll <span style='color:#111;'> 5.99MB </span>","children":null,"spread":false},{"title":"qt_uk.qm <span style='color:#111;'> 148.37KB </span>","children":null,"spread":false},{"title":"icuuc51.dll <span style='color:#111;'> 1.89MB </span>","children":null,"spread":false},{"title":"iconengines","children":[{"title":"qsvgicon.dll <span style='color:#111;'> 59.50KB </span>","children":null,"spread":false},{"title":"qsvgicond.dll <span style='color:#111;'> 809.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"qt_sk.qm <span style='color:#111;'> 147.16KB </span>","children":null,"spread":false},{"title":"libwinpthread-1.dll <span style='color:#111;'> 72.17KB </span>","children":null,"spread":false},{"title":"Qt5Sql.dll <span style='color:#111;'> 256.50KB </span>","children":null,"spread":false},{"title":"Qt5Gui.dll <span style='color:#111;'> 4.41MB </span>","children":null,"spread":false},{"title":"Qt5Core.dll <span style='color:#111;'> 4.39MB </span>","children":null,"spread":false},{"title":"qt_hu.qm <span style='color:#111;'> 149.39KB </span>","children":null,"spread":false},{"title":"qt_ru.qm <span style='color:#111;'> 148.07KB </span>","children":null,"spread":false},{"title":"qt_it.qm <span style='color:#111;'> 153.08KB </span>","children":null,"spread":false},{"title":"sqldrivers","children":[{"title":"qsqlite.dll <span style='color:#111;'> 724.50KB </span>","children":null,"spread":false},{"title":"qsqlpsql.dll <span style='color:#111;'> 99.00KB </span>","children":null,"spread":false},{"title":"qsqlodbcd.dll <span style='color:#111;'> 963.29KB </span>","children":null,"spread":false},{"title":"qsqlmysqld.dll <span style='color:#111;'> 965.90KB </span>","children":null,"spread":false},{"title":"qsqlodbc.dll <span style='color:#111;'> 123.50KB </span>","children":null,"spread":false},{"title":"qsqlited.dll <span style='color:#111;'> 2.08MB </span>","children":null,"spread":false},{"title":"qsqlpsqld.dll <span style='color:#111;'> 915.88KB </span>","children":null,"spread":false},{"title":"qsqlmysql.dll <span style='color:#111;'> 87.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"icuin51.dll <span style='color:#111;'> 3.21MB </span>","children":null,"spread":false},{"title":"libgcc_s_dw2-1.dll <span style='color:#111;'> 532.05KB </span>","children":null,"spread":false},{"title":"sqlTableModeDemo.exe <span style='color:#111;'> 62.50KB </span>","children":null,"spread":false},{"title":"platforms","children":[{"title":"qwindows.dll <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false}],"spread":false},{"title":"qt_de.qm <span style='color:#111;'> 159.74KB </span>","children":null,"spread":false},{"title":"libstdc++-6.dll <span style='color:#111;'> 966.61KB </span>","children":null,"spread":false},{"title":"demo.db <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"accessible","children":[{"title":"qtaccessiblequick.dll <span style='color:#111;'> 64.00KB </span>","children":null,"spread":false},{"title":"qtaccessiblewidgetsd.dll <span style='color:#111;'> 3.65MB </span>","children":null,"spread":false},{"title":"qtaccessiblequickd.dll <span style='color:#111;'> 2.10MB </span>","children":null,"spread":false},{"title":"qtaccessiblewidgets.dll <span style='color:#111;'> 197.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"icudt51.dll <span style='color:#111;'> 21.34MB </span>","children":null,"spread":false},{"title":"qt_ja.qm <span style='color:#111;'> 123.02KB </span>","children":null,"spread":false},{"title":"imageformats","children":[{"title":"qtga.dll <span style='color:#111;'> 45.50KB </span>","children":null,"spread":false},{"title":"qgif.dll <span style='color:#111;'> 50.00KB </span>","children":null,"spread":false},{"title":"qgifd.dll <span style='color:#111;'> 642.93KB </span>","children":null,"spread":false},{"title":"qwbmpd.dll <span style='color:#111;'> 507.80KB </span>","children":null,"spread":false},{"title":"qtiff.dll <span style='color:#111;'> 432.00KB </span>","children":null,"spread":false},{"title":"qtiffd.dll <span style='color:#111;'> 1.43MB </span>","children":null,"spread":false},{"title":"qsvgd.dll <span style='color:#111;'> 666.26KB </span>","children":null,"spread":false},{"title":"qmngd.dll <span style='color:#111;'> 1.32MB </span>","children":null,"spread":false},{"title":"qicod.dll <span style='color:#111;'> 652.06KB </span>","children":null,"spread":false},{"title":"qmng.dll <span style='color:#111;'> 373.00KB </span>","children":null,"spread":false},{"title":"qwbmp.dll <span style='color:#111;'> 44.00KB </span>","children":null,"spread":false},{"title":"qsvg.dll <span style='color:#111;'> 45.00KB </span>","children":null,"spread":false},{"title":"qtgad.dll <span style='color:#111;'> 673.27KB </span>","children":null,"spread":false},{"title":"qjpeg.dll <span style='color:#111;'> 255.00KB </span>","children":null,"spread":false},{"title":"qjpegd.dll <span style='color:#111;'> 1.51MB </span>","children":null,"spread":false},{"title":"qico.dll <span style='color:#111;'> 51.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 老王123456789 :
    不错的入门案例!!
    2021-06-07
  • cibiren2011 :
    有一定的参考价值,谢谢!但是,值不了这么多的分
    2020-11-18
  • 河西石头 :
    还可以,有一定的参考价值
    2019-10-13
  • 影醉阏轩窗 :
    太简单了。。。。
    2019-04-23
  • Sauron_Wu :
    比较简单的例子,能帮得上,可以参考
    2019-04-01

免责申明

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