Créer des images pixmap à partir d'images SVG
Si vous disposez d'une icône librement redimensionnable au format SVG, vous pouvez l'ouvrir dans la visionneuse d'images afin de l'exporter en plusieurs images de tailles différentes et ainsi créer un ensemble de pixmaps.
Sélectionnez «
» (Export) dans la barre d'outils.
Vous pouvez ensuite utiliser « QIcon::addPixmap » () pour ajouter les images bitmap aux icônes selon différents modes et états.
Voir également «Comment : Concevoir des interfaces utilisateur » et « Qt Quick: conception d’interfaces utilisateur ».
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.