Criar pixmaps a partir de imagens SVG
Se você tiver um ícone livremente redimensionável no formato SVG, poderá abri-lo no visualizador de imagens para exportá-lo para várias imagens de tamanhos diferentes e criar um conjunto de pixmaps.
Selecione “
” (Export) na barra de ferramentas.
Em seguida, você pode usar “ QIcon::addPixmap ” () para adicionar os pixmaps aos ícones em diferentes modos e estados.
Veja também Como: Projetar interfaces de usuário e Qt Quick Design de interface de 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.