Creazione di un effetto sfocato

Per creare un effetto sfocato in Qt Quick Effect Maker:

  1. Aggiungi un nodo " FastBlur " all'albero dei nodi.
  2. Aggiungere un nodo " BlurHelper " all'albero dei nodi. Il nodo " BlurHelper " è necessario per tutti gli effetti che contengono un effetto sfocatura.

    Grafico dei nodi con i nodi Main, BlurHelper, FastBlur e Output collegati verticalmente

  3. Seleziona il nodo " FastBlur " e, nelle impostazioni, modifica il valore " fastBlurAmount " per regolare l'intensità della sfocatura.

    Logo Qt con effetto sfocato applicato

Regolazione dei bordi degli elementi

L'effetto appare ritagliato. È necessario regolare i bordi degli elementi:

  1. Selezionare " Icona a forma di croce " per visualizzare i bordi degli elementi.

    Logo Qt con effetto sfocato e bordi degli elementi visibili

  2. Vai su " Edit " > " Project Settings".
  3. Imposta il riempimento degli elementi su 100 su tutti i lati.

    Finestra di dialogo "Impostazioni progetto" con il riempimento degli elementi impostato su 100

Ora è possibile vedere l'effetto sfocato completo.

Logo Qt con effetto sfocato completo e margini interni ampliati

© 2026 The Qt Company Ltd. 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.