在已有的QMainWindow中进行自定义边框的界面美化。

上传者: CHENxiaoni_ | 上传时间: 2022-05-07 19:07:27 | 文件大小: 104.9MB | 文件类型: RAR
问题的来源是别人已经写好了一个项目需要界面美化,项目初期构建的时候没有考虑好,最底层的窗口是QMainWindow,在自定义边框的时候无法使用通常的继承QWidget的方法。本程序使用了在最底层再创建一个含有自定义边框QWidget来承载所以界面的方法。代码解释看我的文章《Qt界面美化自定义边框之QMainWindow边框》

文件下载

资源详情

[{"title":"( 62 个子文件 104.9MB ) 在已有的QMainWindow中进行自定义边框的界面美化。","children":[{"title":"QssMainWindow","children":[{"title":".vs","children":[{"title":"QssMainWindow","children":[{"title":"v15","children":[{"title":"Browse.VC.db <span style='color:#111;'> 21.59MB </span>","children":null,"spread":false},{"title":".suo <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"AutoPCH","children":[{"title":"46050bc3119a266b","children":[{"title":"QSSMAINWINDOW.ipch <span style='color:#111;'> 92.56MB </span>","children":null,"spread":false}],"spread":true},{"title":"27bf724733c48ba6","children":[{"title":"MAIN.ipch <span style='color:#111;'> 97.25MB </span>","children":null,"spread":false}],"spread":true},{"title":"a91928c6fac461f8","children":[{"title":"ICONHELPER.ipch <span style='color:#111;'> 93.75MB </span>","children":null,"spread":false}],"spread":true},{"title":"441adc0a247e554f","children":[{"title":"QSSMAINWINDOW.ipch <span style='color:#111;'> 92.56MB </span>","children":null,"spread":false}],"spread":true},{"title":"d3f8d3684395f1d","children":[{"title":"FRAMELESSWIDGET.ipch <span style='color:#111;'> 97.25MB </span>","children":null,"spread":false}],"spread":true},{"title":"8ff1a138d3be87a2","children":[{"title":"MAIN.ipch <span style='color:#111;'> 97.25MB </span>","children":null,"spread":false}],"spread":true},{"title":"e459d148087e25b9","children":[{"title":"FRAMELESSWIDGET.ipch <span style='color:#111;'> 97.25MB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"QssMainWindow","children":[{"title":"QssMainWindow.qrc <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"QssMainWindow.vcxproj.user <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"IconHelper.cpp <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"QssMainWindow.cpp <span style='color:#111;'> 193B </span>","children":null,"spread":false},{"title":"Resources","children":null,"spread":false},{"title":"FrameLessWidget.ui <span style='color:#111;'> 7.99KB </span>","children":null,"spread":false},{"title":"FrameLessWidget.cpp <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"Release","children":[{"title":"qmake","children":[{"title":"qtvars_x64_Release.designtime.idx <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"qtvars_gtjtdszv.s4f.designtime.props <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"qtvars_x64_Release.props <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Debug","children":[{"title":"qrc_QssMainWindow.obj <span style='color:#111;'> 6.38KB </span>","children":null,"spread":false},{"title":"rcc","children":[{"title":"qrc_QssMainWindow.cpp <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":false},{"title":"moc_FrameLessWidget.obj <span style='color:#111;'> 92.01KB </span>","children":null,"spread":false},{"title":"QssMainWindow.log <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"FrameLessWidget.obj <span style='color:#111;'> 209.93KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 87.97KB </span>","children":null,"spread":false},{"title":"QssMainWindow.obj <span style='color:#111;'> 144.50KB </span>","children":null,"spread":false},{"title":"uic","children":[{"title":"ui_QssMainWindow.h <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"ui_FrameLessWidget.h <span style='color:#111;'> 7.90KB </span>","children":null,"spread":false}],"spread":false},{"title":"qt_work.log <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"moc_QssMainWindow.obj <span style='color:#111;'> 83.73KB </span>","children":null,"spread":false},{"title":"moc","children":[{"title":"moc_FrameLessWidget.cpp <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"moc_QssMainWindow.cpp <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"IconHelper.obj <span style='color:#111;'> 120.47KB </span>","children":null,"spread":false},{"title":"vc141.pdb <span style='color:#111;'> 1.75MB </span>","children":null,"spread":false},{"title":"qmake","children":[{"title":"qtvars_x64_Debug.props <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"qtvars_x64_Debug.designtime.idx <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"qtvars_wbqjd4d5.xfi.designtime.props <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false}],"spread":false},{"title":"QssMainWindow.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 246.88KB </span>","children":null,"spread":false},{"title":"uic.read.1u.tlog <span style='color:#111;'> 226B </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 25.57KB </span>","children":null,"spread":false},{"title":"moc.write.1u.tlog <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"rcc.write.1u.tlog <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"QssMainWindow.write.1u.tlog <span style='color:#111;'> 13.06KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 14.75KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 13.21KB </span>","children":null,"spread":false},{"title":"QssMainWindow.lastbuildstate <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"rcc.read.1u.tlog <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"uic.write.1u.tlog <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"moc.read.1u.tlog <span style='color:#111;'> 222B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"IconHelper.h <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"QssMainWindow.vcxproj <span style='color:#111;'> 5.56KB </span>","children":null,"spread":false},{"title":"QssMainWindow.ui <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"QssMainWindow.h <span style='color:#111;'> 241B </span>","children":null,"spread":false},{"title":"FrameLessWidget.h <span style='color:#111;'> 803B </span>","children":null,"spread":false},{"title":"fontawesome-webfont.ttf <span style='color:#111;'> 138.25KB </span>","children":null,"spread":false},{"title":"QssMainWindow.vcxproj.filters <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"QssMainWindow.exe <span style='color:#111;'> 133.00KB </span>","children":null,"spread":false},{"title":"QssMainWindow.ilk <span style='color:#111;'> 1.27MB </span>","children":null,"spread":false},{"title":"QssMainWindow.pdb <span style='color:#111;'> 2.25MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"QssMainWindow.sln <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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