Qt实现双击可编辑的QLabel,按回车或Esc确认

上传者: birenxiaofeigg | 上传时间: 2021-05-10 19:48:34 | 文件大小: 4.85MB | 文件类型: RAR
在一个QLabel标签上,双击,对文本进行编辑,按下回车或者Esc,退出编辑状态,或者任意点击其他地方,退出Focus,退出编辑状态

文件下载

资源详情

[{"title":"( 34 个子文件 4.85MB ) Qt实现双击可编辑的QLabel,按回车或Esc确认","children":[{"title":"myLabelEdit","children":[{"title":"myLabelEdit.sln <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"myLabelEdit.v12.suo <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"myLabelEdit.sdf <span style='color:#111;'> 17.56MB </span>","children":null,"spread":false},{"title":"myLabelEdit","children":[{"title":"myLabelEdit.vcxproj.filters <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"myLabelEdit.vcxproj <span style='color:#111;'> 18.26KB </span>","children":null,"spread":false},{"title":"mylabeledit.qrc <span style='color:#111;'> 71B </span>","children":null,"spread":false},{"title":"Resources","children":null,"spread":false},{"title":"mylabeledit.h <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"vc120.pdb <span style='color:#111;'> 1.77MB </span>","children":null,"spread":false},{"title":"myLabelEdit.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 74.77KB </span>","children":null,"spread":false},{"title":"custombuild.read.1.tlog <span style='color:#111;'> 546B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 992B </span>","children":null,"spread":false},{"title":"myLabelEdit.lastbuildstate <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"custombuild.write.1.tlog <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"custombuild.command.1.tlog <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"myLabelEdit.Build.CppClean.log <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"myLabelEdit.log <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 344.87KB </span>","children":null,"spread":false},{"title":"moc_mylabeledit.obj <span style='color:#111;'> 347.57KB </span>","children":null,"spread":false},{"title":"mylabeledit.obj <span style='color:#111;'> 444.77KB </span>","children":null,"spread":false},{"title":"qrc_mylabeledit.obj <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main.cpp <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"mylabeledit.cpp <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"GeneratedFiles","children":[{"title":"Release","children":null,"spread":false},{"title":"ui_mylabeledit.h <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"qrc_mylabeledit.cpp <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"moc_mylabeledit.cpp <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"mylabeledit.ui <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"myLabelEdit.vcxproj.user <span style='color:#111;'> 674B </span>","children":null,"spread":false}],"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"myLabelEdit.ilk <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"myLabelEdit.exe <span style='color:#111;'> 156.50KB </span>","children":null,"spread":false},{"title":"myLabelEdit.pdb <span style='color:#111;'> 2.39MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • gudaomao :
    用处不是很大。。
    2020-09-19

免责申明

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