QT多窗口应用程序设计示例

上传者: u011671745 | 上传时间: 2024-04-15 10:24:23 | 文件大小: 9.95MB | 文件类型: RAR
实例samp6_3演示多窗口应用程序的设计,程序的主窗口类是QWMainWindow,从QMainWindow继承。主窗口有一个工具栏,4个创建窗体的按钮以不同方式创建和使用窗体。主窗体工作区绘制一个背景图片,有一个tabWidget组件,作为创建窗体的父窗体。没有子窗体时,tabWidget不显示。

文件下载

资源详情

[{"title":"( 97 个子文件 9.95MB ) QT多窗口应用程序设计示例","children":[{"title":"samp6_3MultiWindow","children":[{"title":"ui_qformtable.h <span style='color:#111;'> 4.47KB </span>","children":null,"spread":false},{"title":"qwmainwindow.h <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"qwdialogheaders.ui <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"ui_qwdialogheaders.h <span style='color:#111;'> 5.43KB </span>","children":null,"spread":false},{"title":"qformtable.h <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"qformdoc.cpp <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"ui_qformdoc.h <span style='color:#111;'> 6.98KB </span>","children":null,"spread":false},{"title":"qwdialogheaders.cpp <span style='color:#111;'> 647B </span>","children":null,"spread":false},{"title":"ui_qwdialogsize.h <span style='color:#111;'> 5.08KB </span>","children":null,"spread":false},{"title":"qwdialogheaders.h <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"qformtable.cpp <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 345B </span>","children":null,"spread":false},{"title":"debug","children":[{"title":"moc_qwmainwindow.cpp <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"qrc_res.o <span style='color:#111;'> 1.00MB </span>","children":null,"spread":false},{"title":"qformdoc.o <span style='color:#111;'> 580.29KB </span>","children":null,"spread":false},{"title":"qrc_res.cpp <span style='color:#111;'> 5.21MB </span>","children":null,"spread":false},{"title":"moc_qwdialogsize.cpp <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"qwdialogheaders.o <span style='color:#111;'> 537.00KB </span>","children":null,"spread":false},{"title":"moc_qwdialogheaders.cpp <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"moc_qwdialogheaders.o <span style='color:#111;'> 322.96KB </span>","children":null,"spread":false},{"title":"qformtable.o <span style='color:#111;'> 550.95KB </span>","children":null,"spread":false},{"title":"moc_qformdoc.o <span style='color:#111;'> 428.92KB </span>","children":null,"spread":false},{"title":"moc_qformdoc.cpp <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"qwdialogsize.o <span style='color:#111;'> 521.94KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 534.50KB </span>","children":null,"spread":false},{"title":"moc_qformtable.o <span style='color:#111;'> 343.67KB </span>","children":null,"spread":false},{"title":"qwmainwindow.o <span style='color:#111;'> 687.47KB </span>","children":null,"spread":false},{"title":"moc_qformtable.cpp <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"samp6_3.exe <span style='color:#111;'> 5.63MB </span>","children":null,"spread":false},{"title":"moc_predefs.h <span style='color:#111;'> 14.28KB </span>","children":null,"spread":false},{"title":"moc_qwmainwindow.o <span style='color:#111;'> 344.94KB </span>","children":null,"spread":false},{"title":"moc_qwdialogsize.o <span style='color:#111;'> 427.79KB </span>","children":null,"spread":false}],"spread":false},{"title":"release","children":[{"title":"moc_qwmainwindow.cpp <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false},{"title":"qrc_res.o <span style='color:#111;'> 1.00MB </span>","children":null,"spread":false},{"title":"qformdoc.o <span style='color:#111;'> 25.20KB </span>","children":null,"spread":false},{"title":"qrc_res.cpp <span style='color:#111;'> 5.21MB </span>","children":null,"spread":false},{"title":"moc_qwdialogsize.cpp <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"qwdialogheaders.o <span style='color:#111;'> 14.70KB </span>","children":null,"spread":false},{"title":"moc_qwdialogheaders.cpp <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"moc_qwdialogheaders.o <span style='color:#111;'> 8.76KB </span>","children":null,"spread":false},{"title":"qformtable.o <span style='color:#111;'> 18.61KB </span>","children":null,"spread":false},{"title":"moc_qformdoc.o <span style='color:#111;'> 8.54KB </span>","children":null,"spread":false},{"title":"moc_qformdoc.cpp <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"qwdialogsize.o <span style='color:#111;'> 14.16KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"moc_qformtable.o <span style='color:#111;'> 9.08KB </span>","children":null,"spread":false},{"title":"qwmainwindow.o <span style='color:#111;'> 24.02KB </span>","children":null,"spread":false},{"title":"moc_qformtable.cpp <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"samp6_3.exe <span style='color:#111;'> 1.07MB </span>","children":null,"spread":false},{"title":"moc_predefs.h <span style='color:#111;'> 9.66KB </span>","children":null,"spread":false},{"title":"moc_qwmainwindow.o <span style='color:#111;'> 9.88KB </span>","children":null,"spread":false},{"title":"moc_qwdialogsize.o <span style='color:#111;'> 8.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"qwmainwindow.ui <span style='color:#111;'> 4.45KB </span>","children":null,"spread":false},{"title":"qwdialogsize.h <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"qformdoc.ui <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false},{"title":"qwmisc.h <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"res.qrc <span style='color:#111;'> 879B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"122.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"2.ico <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"514.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"704.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Doc.ico <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"43.ico <span style='color:#111;'> 21.96KB </span>","children":null,"spread":false},{"title":"206.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"512.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"510.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"back2.jpg <span style='color:#111;'> 1019.46KB </span>","children":null,"spread":false},{"title":"100.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"304.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"506.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"500.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"504.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"3.ico <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"208.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"804.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"406.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Excel.ico <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"402.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"104.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"516.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"230.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"706.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"202.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"404.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"132.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"400.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"204.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"502.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"200.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"qwmisc.cpp <span style='color:#111;'> 521B </span>","children":null,"spread":false},{"title":"ui_qwmainwindow.h <span style='color:#111;'> 6.89KB </span>","children":null,"spread":false},{"title":"qwmainwindow.cpp <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false},{"title":"qwdialogsize.ui <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"qformdoc.h <span style='color:#111;'> 649B </span>","children":null,"spread":false},{"title":"qwdialogsize.cpp <span style='color:#111;'> 773B </span>","children":null,"spread":false},{"title":"qformtable.ui <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"samp6_3.pro <span style='color:#111;'> 684B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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