查看图片

Qt Creator 在图片查看器中打开图片文件。

图片查看器

使用工具栏按钮或键盘快捷键来:

  • 导出 - 将 SVG 图像导出为位图,或将图像复制为数据 URL,这样您就可以将其像外部资源一样嵌入到网页中
  • “眼睛”按钮 (Original Size) - 将图像恢复为原始尺寸
  • “放大”按钮 (Zoom In) - 放大与缩小 (“缩小”按钮 (Zoom Out))
  • “运行”按钮 (Play Animation) - 播放和暂停动画 GIF 及 MNG 图片
  • 桌面图标 (Switch Background) - 显示和隐藏图片背景
  • 开关外形图 (Switch Outline) - 显示和隐藏图像轮廓
  • 适应屏幕 (Fit to Screen) - 将图片调整为适合屏幕大小

选择“Set as Default ”,将当前的背景和轮廓模式设置以及“图像适应屏幕”功能作为图像查看器的默认值。

另请参阅 《操作指南:设计用户界面》和《Qt Quick 用户界面设计》。

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.