Qt 仿QQ图片查看器

上传者: 33559992 | 上传时间: 2019-12-21 20:41:53 | 文件大小: 29KB | 文件类型: rar
1. 鼠标滚轮可以缩小,放大图片。 2. 界面自动大小自动调整,默认为720*540.当图片大小超过这个时候,界面调整为图片大小。 3. 只有图片大小大于界面大小的时候,图片才可以进行移动。 4. 重写paintEvent 纯QWidget绘制。

文件下载

资源详情

[{"title":"( 23 个子文件 29KB ) Qt 仿QQ图片查看器","children":[{"title":"untitled","children":[{"title":"resource.qrc <span style='color:#111;'> 651B </span>","children":null,"spread":false},{"title":"widget.ui <span style='color:#111;'> 441B </span>","children":null,"spread":false},{"title":"qlistimageview.h <span style='color:#111;'> 672B </span>","children":null,"spread":false},{"title":"widget.cpp <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"qimageviewlabel.cpp <span style='color:#111;'> 13.20KB </span>","children":null,"spread":false},{"title":"qimageviewlabel.h <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"qimageviewwidget.h <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"resourse","children":[{"title":"image","children":[{"title":"right_normal.png <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"close_normal_picfile.png <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"close.png <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"right_hover.png <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"right_click.png <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"close_hover.png <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"left_hover.png <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"close_normal_pic.png <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"close_click.png <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"left_click.png <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"left_normal.png <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"untitled.pro <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"qimageviewwidget.cpp <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"qlistimageview.cpp <span style='color:#111;'> 6.58KB </span>","children":null,"spread":false},{"title":"widget.h <span style='color:#111;'> 273B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • cherry584520 :
    m_qgraphicsScene-&gt;addItem(m_ImageWidget);//将QGraphicsItem类对象放进QGraphicsScene中
    2019-10-25

免责申明

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