skapa pixkartor från SVG-bilder
Om du har en fritt skalbar ikon i SVG-format kan du öppna den i bildvisaren för att exportera den till flera bilder i olika storlekar och därmed skapa en uppsättning pixkartor.
Välj ”
” (Export) i verktygsfältet.
Du kan sedan använda QIcon::addPixmap() för att lägga till pixmap-bilderna till ikoner i olika lägen och tillstånd.
Se även Så här gör du: Utforma användargränssnitt och Qt Quick av användargränssnitt.
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.