Visualizar imagens

Ao passar o cursor do mouse sobre uma referência de imagem no código C++ ou QML, o Qt Creator exibe uma pré-visualização em miniatura da imagem em uma dica de ferramenta. Isso ajuda você a verificar se está usando a imagem correta sem sair do editor.

Pré-visualização de uma imagem em um arquivo QML

Para abrir a imagem em um visualizador de imagens externo, selecione o caminho do arquivo na dica de ferramenta.

Qt Creator O.qrc mostra a pré-visualização da imagem quando ela é referenciada por meio de um arquivo de recursos ( ) ou diretamente por seu caminho absoluto.

Veja também Criar arquivos de recursos, Como fazer: Editar código, Edição de código, Como fazer: Adaptar a interface do usuário e Adaptando a interface do usuário.

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.