Aggiungi risorse

Assets visualizza le immagini e gli altri file aggiunti alla cartella del progetto trascinando i file delle risorse esterne in Qt Quick Designer oppure selezionando il pulsante Plus.

Panoramica delle risorse.

Per aggiungere risorse all'interfaccia utente, trascinarle da Assets alla vista Navigator o 2D.

Per aggiungere più risorse contemporaneamente alla tua interfaccia utente, selezionale prima tenendo premuto il tasto Ctrl e facendo clic sui file delle risorse che desideri selezionare.

Quando trascini le risorse da Assets alla vista Navigator o 2D, vengono create automaticamente delle istanze di componenti con un tipo adeguato. Ad esempio, per i file grafici verranno create istanze del componente Image.

Vedi anche Come: Progettare interfacce utente di Qt Quick , Progettazione dell’interfaccia utente diQt Quick e Progettazione di interfacce utente di 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.